|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object Stat
public class Stat
A class representing contents of a statistic object
Constructor Summary | |
---|---|
Stat(double time,
String category,
String name,
boolean data)
Allocates a new Stat object |
|
Stat(double time,
String category,
String name,
double data)
Allocates a new Stat object |
|
Stat(double time,
String category,
String name,
int data)
Allocates a new Stat object |
|
Stat(double time,
String category,
String name,
String data)
Allocates a new Stat object |
Method Summary | |
---|---|
String |
getCategory()
Gets the user-defined name for data type |
String |
getData()
Gets the the data to be recorded |
String |
getName()
Gets the name of the entity that want to store this data |
double |
getTime()
Gets the time at which Statistic info was recorded |
String |
toString()
Gets the the concatenated value of all items as a string |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Stat(double time, String category, String name, String data)
time
- the time at which Statistic info was recorded.
Generally this value is taken from GridSim.clock()
category
- user-defined name for data typename
- of the entity that want to store this datadata
- data to be recordedGridSim.clock()
public Stat(double time, String category, String name, int data)
time
- the time at which Statistic info was recorded.
Generally this value is taken from GridSim.clock()
category
- user-defined name for data typename
- of the entity that want to store this datadata
- data to be recordedGridSim.clock()
public Stat(double time, String category, String name, double data)
time
- the time at which Statistic info was recorded.
Generally this value is taken from GridSim.Clock()
category
- user-defined name for data typename
- of the entity that want to store this datadata
- data to be recordedGridSim.clock()
public Stat(double time, String category, String name, boolean data)
time
- the time at which Statistic info was recorded.
Generally this value is taken from GridSim.Clock()
category
- user-defined name for data typename
- of the entity that want to store this datadata
- data to be recordedGridSim.clock()
Method Detail |
---|
public double getTime()
public String getCategory()
public String getName()
public String getData()
public String toString()
toString
in class Object
|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |