etomica.units
Class Fraction
java.lang.Object
etomica.units.Dimension
etomica.units.Fraction
- All Implemented Interfaces:
- Serializable
public final class Fraction
- extends Dimension
Dimension for a quantity representing a fractional amount. Examples
include a decimal, percent, parts-per-million, etc.
- See Also:
- Serialized Form
|
Method Summary |
Unit |
getUnit(UnitSystem unitSystem)
Returns the unit of this dimension as derived in the given system of units. |
DIMENSION
public static final Dimension DIMENSION
- Singleton instance of this class.
SIM_UNIT
public static final Unit SIM_UNIT
- The simulation unit is the Decimal.
getUnit
public Unit getUnit(UnitSystem unitSystem)
- Description copied from class:
Dimension
- Returns the unit of this dimension as derived in the given system of units.
Default constructs a CompoundUnit using the base units of the unit system.
- Overrides:
getUnit in class Dimension