public final class TimeMeter extends AbstractMeter
Time
enumeration to give
back the suitable time.Time
Constructor and Description |
---|
TimeMeter(Time paramTime)
Constructor which is in need of a given time.
|
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 TimeMeter(Time paramTime)
paramTime
- the time for the values.public 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.