|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QuantityUnitMeasure<T extends java.lang.Enum>
This interface tags a class that contains a magnitude value and unit thereof. All such classes must provide a one-arg constructor that takes a float primitive.
Method Summary | |
---|---|
float |
getMagnitude()
|
float |
getMagnitude(T unit)
|
float |
getMagnitudeInDefaultUnit()
|
T |
getUnit()
|
Method Detail |
---|
T getUnit()
float getMagnitude()
float getMagnitudeInDefaultUnit()
float getMagnitude(T unit)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |