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 |
Class that contains the current result of the analyzed Component. Also compares the current DataItem with an object.
| cl::utfsm::samplingSystemUI::core::DataItem::DataItem | ( | long | nTime, | |
| double | nValue | |||
| ) | [inline] |
| 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.
| anObject | object type to which to compare to. |
References getTime(), getValue(), time, and value.
| long cl::utfsm::samplingSystemUI::core::DataItem::getTime | ( | ) | [inline] |
Regular getter for the time of the Item.
References time.
Referenced by cl::utfsm::samplingSystemUI::SamplingDataCorrelator::dumpToFile(), cl::utfsm::samplingSystemUI::FileHelper::dumpToFile(), equals(), cl::utfsm::samplingSystemUITestCase::DataItemTest::testEquals(), cl::utfsm::samplingSystemUI::WidgetPrinter::updateValue(), cl::utfsm::samplingSystemUI::PlotPrinter::updateValue(), cl::utfsm::samplingSystemUI::MemoryPrinter::updateValue(), and cl::utfsm::samplingSystemUI::FilePrinter::updateValue().
| double cl::utfsm::samplingSystemUI::core::DataItem::getValue | ( | ) | [inline] |
Regular getter for the value of the Item.
References value.
Referenced by cl::utfsm::samplingSystemUI::SamplingDataCorrelator::dumpToFile(), cl::utfsm::samplingSystemUI::FileHelper::dumpToFile(), equals(), cl::utfsm::samplingSystemUITestCase::DataItemTest::testEquals(), cl::utfsm::samplingSystemUI::WidgetPrinter::updateValue(), cl::utfsm::samplingSystemUI::PlotPrinter::updateValue(), cl::utfsm::samplingSystemUI::MemoryPrinter::updateValue(), and cl::utfsm::samplingSystemUI::FilePrinter::updateValue().
| int cl::utfsm::samplingSystemUI::core::DataItem::hashCode | ( | ) | [inline] |
Method to get the information of the DataItem as a hash
Referenced by cl::utfsm::samplingSystemUITestCase::DataItemTest::testEquals().
long cl::utfsm::samplingSystemUI::core::DataItem::time = 0 [package] |
Referenced by DataItem(), equals(), getTime(), and hashCode().
double cl::utfsm::samplingSystemUI::core::DataItem::value = 0 [package] |
Referenced by DataItem(), equals(), getValue(), and hashCode().
1.6.2