public interface UnitEnumHasShortUnit<T> extends UnitEnum<T>
Modifier and Type | Method and Description |
---|---|
int |
getDepth()
Get depth index for this unit instance's hierarchy of different-sized units.
|
<T extends UnitEnumHasShortUnit<T>> |
getShortUnit()
Get the shorter unit associated with this unit.
|
<T extends UnitEnumHasShortUnit<T>> T getShortUnit()
T
- Enum subclass implementing this interfaceint getDepth()