Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cl::utfsm::samplingSystemUI::core::DataItem Class Reference

List of all members.

Public Member Functions

 DataItem (long nTime, double nValue)
long getTime ()
double getValue ()
int hashCode ()
boolean equals (Object anObject)

Package Attributes

long time = 0
double value = 0

Detailed Description

Class that contains the current result of the analized Component. Also compares the current DataItem with an object.


Constructor & Destructor Documentation

cl::utfsm::samplingSystemUI::core::DataItem::DataItem long  nTime,
double  nValue
[inline]
 

Constructor, initializes the time and value variables.

Parameters:
nTime Time (in miliseconds) since last sampling
nValue Value obtained of a given sample on nTime


Member Function Documentation

boolean cl::utfsm::samplingSystemUI::core::DataItem::equals Object  anObject  )  [inline]
 

compare with an object and see if they are equal. This is an overloaded version of Object.equals(), this member returns true if anObject is of class DataItem, and if all attributes are the same.

Parameters:
anObject object type to which to compare to.
Returns:
true or false.

long cl::utfsm::samplingSystemUI::core::DataItem::getTime  )  [inline]
 

Regular getter for the time of the Item.

double cl::utfsm::samplingSystemUI::core::DataItem::getValue  )  [inline]
 

Regular getter for the value of the Item.

int cl::utfsm::samplingSystemUI::core::DataItem::hashCode  )  [inline]
 

Method to get the information of the DataItem as a hash

Returns:
The values of time and value as an integer hash.


Member Data Documentation

long cl::utfsm::samplingSystemUI::core::DataItem::time = 0 [package]
 

double cl::utfsm::samplingSystemUI::core::DataItem::value = 0 [package]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:10:04 2009 for ACS Java API by doxygen 1.3.8