org.ka2ddo.util
Interface EnumWithUnits

All Known Implementing Classes:
HurricaneEnum, WeatherEnum

public interface EnumWithUnits

This interface is only for enumerations that specify another Enum as the unit for the value indexed by the first Enum.


Method Summary
 java.lang.Enum<?> getUnit()
          Get the unit (if any) for values for this Enum,
 

Method Detail

getUnit

java.lang.Enum<?> getUnit()
Get the unit (if any) for values for this Enum,

Returns:
unit Enum, or null if no unit known