org.jscience.physics.quantities
Class AmountOfSubstance
java.lang.Object
javolution.realtime.RealtimeObject
org.jscience.mathematics.numbers.Number<Quantity>
org.jscience.physics.quantities.Quantity
org.jscience.physics.quantities.AmountOfSubstance
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Quantity>, Realtime, Operable<Quantity>, Numeric<Quantity>
public class AmountOfSubstance
- extends Quantity
This class represents the number of elementary entities (molecules, for
example) of a substance. The system unit for this quantity is "mol"
(Système International d'Unités).
- Version:
- 2.0, June 12, 2005
- Author:
- Jean-Marie Dautelle
- See Also:
- Serialized Form
|
Constructor Summary |
protected |
AmountOfSubstance()
Default constructor (allows for derivation). |
| Methods inherited from class org.jscience.physics.quantities.Quantity |
approxEquals, compareTo, divide, doubleValue, equals, getAbsoluteError, getAmount, getMaximum, getMinimum, getRelativeError, getUnit, hashCode, isLargerThan, longValue, minus, norm, opposite, plus, rangeOf, reciprocal, root, sqrt, times, times, to, toText, valueOf, valueOf, valueOf |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javolution.realtime.Realtime |
move |
ZERO
public static final AmountOfSubstance ZERO
- Represents a
AmountOfSubstance amounting to nothing.
AmountOfSubstance
protected AmountOfSubstance()
- Default constructor (allows for derivation).
showAs
public static void showAs(Unit unit)
- Shows
AmountOfSubstance instances in the specified unit.
- Parameters:
unit - the display unit for AmountOfSubstance instances.
Copyright © 2005 JScience.