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() |
toString
public MemMeter(Memory paramScale)
paramScale
- scale for this meter, can be any instance of Memory-enumpublic double getValue()
getValue
in class AbstractMeter
public String getName()
getName
in class AbstractMeter
public String getUnit()
getUnit
in class AbstractMeter
public String getUnitDescription()
getUnitDescription
in class AbstractMeter
public int hashCode()
hashCode
in class AbstractMeter
public boolean equals(Object obj)
equals
in class AbstractMeter
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.