Package gnu.math
Class NamedUnit
java.lang.Object
java.lang.Number
gnu.math.Numeric
gnu.math.Quantity
gnu.math.Unit
gnu.math.NamedUnit
- All Implemented Interfaces:
Externalizable,Serializable
- Direct Known Subclasses:
BaseUnit
A Unit that has a name.
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class gnu.math.Unit
define, define, dimensions, divide, doubleValue, hashCode, isExact, isZero, number, pow, power, sqrt, times, toString, toString, toString, unitMethods inherited from class gnu.math.Quantity
abs, add, add, addReversed, compare, compare, compareReversed, div, divide, divReversed, doubleImagValue, doubleJmagValue, doubleKmagValue, im, imValue, jm, jmValue, km, kmValue, make, make, make, mul, mulReversed, neg, re, reValue, times, toStringMethods inherited from class gnu.math.Numeric
add, asNumericOrNull, div_inv, equals, floatValue, geq, grt, intValue, longValue, mul_ident, sub, toExact, toInexactMethods inherited from class java.lang.Number
byteValue, shortValue
-
Constructor Details
-
NamedUnit
public NamedUnit() -
NamedUnit
-
NamedUnit
-
-
Method Details
-
init
protected void init() -
getName
-
lookup
-
lookup
-
make
-
make
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
readResolve
- Throws:
ObjectStreamException
-