Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ka2ddo.yaac.osm
Interface QuantityUnitMeasure<T extends java.lang.Enum>

All Known Implementing Classes:
  Length, Weight

    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

### getUnit

    T getUnit()

### getMagnitude

    float getMagnitude()

### getMagnitudeInDefaultUnit

    float getMagnitudeInDefaultUnit()

### getMagnitude

    float getMagnitude(T unit)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD