public final class Volume extends Dimension
Modifier and Type | Field | Description |
---|---|---|
static Dimension |
DIMENSION |
Singleton instance of this class.
|
static Unit |
SIM_UNIT |
Simulation unit of volume is cubic Angstroms.
|
Modifier and Type | Method | Description |
---|---|---|
static Dimension |
dimension(int D) |
Returns the Dimension instance for the "volume" appropriate to the given
dimension.
|
Unit |
getUnit(UnitSystem unitSystem) |
Returns the unit of this dimension as derived in the given system of units.
|
equals, introspect, signature, toString
public static final Dimension DIMENSION
public static final Unit SIM_UNIT
public Unit getUnit(UnitSystem unitSystem)
Dimension
public static Dimension dimension(int D)
java.lang.IllegalArgumentException
- if D is not equal to 1, 2, or 3.