|
JADE v6.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Number
com.dautelle.math.numbers.RealtimeNumber
com.dautelle.physics.Quantity
com.dautelle.physics.DataAmount
This class represents a measure of data amount. The system unit for this quantity is "bit". This quantity is dimensionless.
Nested Class Summary |
Nested classes inherited from class com.dautelle.physics.Quantity |
Quantity.Factory, Quantity.Value |
Field Summary | |
static DataAmount |
ZERO
Represents a DataAmount amounting to nothing. |
Constructor Summary | |
protected |
DataAmount()
Default constructor (allows for derivation). |
Method Summary | |
static DataAmount |
dataAmountOf(Quantity quantity)
Returns the DataAmount corresponding to the specified quantity. |
static void |
showAs(Unit unit)
Shows DataAmount instances in the specified unit. |
Methods inherited from class com.dautelle.physics.Quantity |
abs, add, appendTo, approxEquals, approxEquals, compareTo, divide, divide, doubleValue, doubleValue, equals, floatValue, floatValue, getAbsoluteError, getMaximum, getMinimum, getOutputUnit, getRelativeError, getSystemUnit, hashCode, intValue, intValue, inverse, isPossiblyZero, longValue, longValue, multiply, multiply, negate, opposite, plus, pow, random, reciprocal, root, subtract, times, toString, toString, toXml, valueOf, valueOf, valueOf, valueOf |
Methods inherited from class com.dautelle.math.numbers.RealtimeNumber |
clone, export, isLocalObject, isPoolObject, pow, recycle, toHeap |
Methods inherited from class java.lang.Number |
byteValue, shortValue |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final DataAmount ZERO
DataAmount
amounting to nothing.
Constructor Detail |
protected DataAmount()
Method Detail |
public static DataAmount dataAmountOf(Quantity quantity)
DataAmount
corresponding to the specified quantity.
quantity
- a quantity compatible with DataAmount
.
DataAmount
instance.
ConversionException
- if the current model does not allow the
specified quantity to be converted to DataAmount
.public static void showAs(Unit unit)
DataAmount
instances in the specified unit.
unit
- the output unit for DataAmount
instances.Quantity.getOutputUnit()
|
JADE v6.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |