com.pcauto.util
Class VolumeUnits
java.lang.Object
com.pcauto.util.Units
com.pcauto.util.VolumeUnits
- All Implemented Interfaces:
- java.io.Serializable
- public final class VolumeUnits
- extends Units
Used Java typesafe enum pattern to port C++ enum.
See http://developer.java.sun.com/developer/Books/shiftintojava/page1.html#replaceenums.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CUBIC_METRE
public static final VolumeUnits CUBIC_METRE
CUBIC_YARD
public static final VolumeUnits CUBIC_YARD
ALL
public static final VolumeUnits[] ALL
convertArray
protected static double[][] convertArray
getAll
public Units[] getAll()
- Specified by:
getAll
in class Units
convertFrom
public double convertFrom(double value,
Units srcUnits)
- Specified by:
convertFrom
in class Units