edu.iris.Fissures
Class UnitBase
java.lang.Object
edu.iris.Fissures.UnitBase
- All Implemented Interfaces:
- java.io.Serializable, org.omg.CORBA.portable.IDLEntity
public final class UnitBase
- extends java.lang.Object
- implements org.omg.CORBA.portable.IDLEntity
With two exceptions, the Fissures units use SI base units.
These are METER, GRAM, SECOND, AMPERE, KELVIN, MOLE, CANDELA,
and COUNT. The two differences with SI are that gram is used
instead of kilogram, largely to make automatic name generation
easier, and the addition of count as a convenience. Also, COMPOSITE
has been added to signify that this is a composite unit as this field
cannot be null.
- See Also:
- Serialized Form
Constructor Summary |
protected |
UnitBase(int value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_METER
public static final int _METER
- See Also:
- Constant Field Values
METER
public static final UnitBase METER
_GRAM
public static final int _GRAM
- See Also:
- Constant Field Values
GRAM
public static final UnitBase GRAM
_SECOND
public static final int _SECOND
- See Also:
- Constant Field Values
SECOND
public static final UnitBase SECOND
_AMPERE
public static final int _AMPERE
- See Also:
- Constant Field Values
AMPERE
public static final UnitBase AMPERE
_KELVIN
public static final int _KELVIN
- See Also:
- Constant Field Values
KELVIN
public static final UnitBase KELVIN
_MOLE
public static final int _MOLE
- See Also:
- Constant Field Values
MOLE
public static final UnitBase MOLE
_CANDELA
public static final int _CANDELA
- See Also:
- Constant Field Values
CANDELA
public static final UnitBase CANDELA
_COUNT
public static final int _COUNT
- See Also:
- Constant Field Values
COUNT
public static final UnitBase COUNT
_COMPOSITE
public static final int _COMPOSITE
- See Also:
- Constant Field Values
COMPOSITE
public static final UnitBase COMPOSITE
UnitBase
protected UnitBase(int value)
value
public int value()
from_int
public static UnitBase from_int(int value)