gridsim
Class Stat

java.lang.Object
  |
  +--gridsim.Stat

public class Stat
extends java.lang.Object

A class representing contents of statistic object.


Constructor Summary
Stat(double time, java.lang.String category, java.lang.String name, boolean data)
           
Stat(double time, java.lang.String category, java.lang.String name, double data)
           
Stat(double time, java.lang.String category, java.lang.String name, int data)
           
Stat(double time, java.lang.String category, java.lang.String name, java.lang.String data)
           
 
Method Summary
 java.lang.String get_category()
           
 java.lang.String get_data()
           
 java.lang.String get_name()
           
 double get_time()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Stat

public Stat(double time,
            java.lang.String category,
            java.lang.String name,
            java.lang.String data)
Parameters:
time - The time at which Statistic info was recorded. Generally this value is GridSim.Clock()
category - user-defined name for data type.
name - of the entity that want to store this data.
data - data to be recorded.

Stat

public Stat(double time,
            java.lang.String category,
            java.lang.String name,
            int data)
Parameters:
time - The time at which Statistic info was recorded. Generally this value is GridSim.Clock()
category - user-defined name for data type.
name - of the entity that want to store this data.
data - data to be recorded.

Stat

public Stat(double time,
            java.lang.String category,
            java.lang.String name,
            double data)
Parameters:
time - The time at which Statistic info was recorded. Generally this value is GridSim.Clock()
category - user-defined name for data type.
name - of the entity that want to store this data.
data - data to be recorded.

Stat

public Stat(double time,
            java.lang.String category,
            java.lang.String name,
            boolean data)
Parameters:
time - The time at which Statistic info was recorded. Generally this value is GridSim.Clock()
category - user-defined name for data type.
name - of the entity that want to store this data.
data - data to be recorded.
Method Detail

get_time

public double get_time()
Returns:
The time at which Statistic info was recorded.

get_category

public java.lang.String get_category()
Returns:
user-defined name for data type.

get_name

public java.lang.String get_name()
Returns:
name of the entity that want to store this data.

get_data

public java.lang.String get_data()
Returns:
data to be recorded.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
concatenated value of all items as string