public final class MemMeter extends AbstractMeter
Memory enumeration for formatting
purposes. This choose must be made
by instantiation of the meter.Memory| Constructor and Description |
|---|
MemMeter(Memory paramScale)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName()
A short name of the meter.
|
String |
getUnit()
Returns the unit in which this measure taker computes its results.
|
String |
getUnitDescription()
The long description of the unit.
|
double |
getValue()
Getting the current value for this meter.
|
int |
hashCode() |
toStringpublic MemMeter(Memory paramScale)
paramScale - scale for this meter, can be any instance of Memory-enumpublic double getValue()
getValue in class AbstractMeterpublic String getName()
getName in class AbstractMeterpublic String getUnit()
getUnit in class AbstractMeterpublic String getUnitDescription()
getUnitDescription in class AbstractMeterpublic int hashCode()
hashCode in class AbstractMeterpublic boolean equals(Object obj)
equals in class AbstractMeterCopyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.