|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.measure.Mult
An immutable object that provides exponents, values, symbols and prefixes of multipliers as defined in the International System ( SI ). [reference: http://physics.nist.gov/cuu/Units/prefixes.html]
SI ( International System ) Multipliers
Prefix Symbol Multiplier yotta Y x10^24 zeta Z x10^21 exa E x10^18 peta P x10^15 tera T x10^12 giga G x10^9 mega M x10^6 kilo k x10^3 hecto h x10^2 deka da x10 deci d x10^-1 centi c x10^-2 milli m x10^-3 micro u x10^-6 nano n x10^-9 pico p x10^-12 femto f x10^-15 atto a x10^-18 zepto z x10^-21 yocto y x10^-24
Length| Field Summary | |
static Mult |
ATTO
Constant - atto (a) = 10^-18 |
static Mult |
CENTI
Constant - centi (c) = 10^-2 |
static Mult |
DECI
Constant - deci (d) = 10^-1 |
static Mult |
DEKA
Constant - deka (da) = 10 |
static Mult |
EXA
Constant - exa (E) = 10^18 |
int |
exponent
The exponent of the multiplier |
static Mult |
FEMTO
Constant - femto (f) = 10^-15 |
static Mult |
GIGA
Constant - giga (G) = 10^9 |
static Mult |
HECTO
Constant - hecto (h) = 10^2 |
static Mult |
KILO
Constant - kilo (k) = 10^3 |
static Mult |
MEGA
Constant - mega (M) = 10^6 |
static Mult |
MICRO
Constant - micro (µ) = 10^-6 |
static Mult |
MILLI
Constant - milli (m) = 10^-3 |
static Mult |
NANO
Constant - nano (n) = 10^-9 |
static Mult |
NONE
Constant - no multiplier, = 1 |
static Mult |
PETA
Constant - peta (P) = 10^15 |
static Mult |
PICO
Constant - pico (p) = 10^-12 |
java.lang.String |
prefix
The prefix of the multiplier |
java.lang.String |
symbol
The symbol of the multiplier |
static Mult |
TERA
Constant - tera (T) = 10^12 |
double |
value
The value of the multiplier |
static Mult |
YOCTO
Constant - yocto (y) = 10^-24 |
static Mult |
YOTTA
Constant - yotta (Y) = 10^24 |
static Mult |
ZEPTO
Constant - zepto (z) = 10^-21 |
static Mult |
ZETA
Constant - zeta (Z) = 10^21 |
| Constructor Summary | |
protected |
Mult(int exponent,
java.lang.String symbol,
java.lang.String prefix)
Construct an Mult object. |
| Method Summary | |
int |
compareTo(Mult that)
Compare this object with the argument for order. |
int |
compareTo(java.lang.Object obj)
Compare this object with the argument for order. |
static Mult[] |
getSIMultipliers()
Return an array of the defined Mult objects |
java.lang.String |
toString()
Return a String representation ( the prefix String ) of this Mult object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public final int exponent
public final double value
public final java.lang.String symbol
public final java.lang.String prefix
public static final Mult YOTTA
public static final Mult ZETA
public static final Mult EXA
public static final Mult PETA
public static final Mult TERA
public static final Mult GIGA
public static final Mult MEGA
public static final Mult KILO
public static final Mult HECTO
public static final Mult DEKA
public static final Mult NONE
public static final Mult DECI
public static final Mult CENTI
public static final Mult MILLI
public static final Mult MICRO
public static final Mult NANO
public static final Mult PICO
public static final Mult FEMTO
public static final Mult ATTO
public static final Mult ZEPTO
public static final Mult YOCTO
| Constructor Detail |
protected Mult(int exponent,
java.lang.String symbol,
java.lang.String prefix)
Mult object.
exponent - The multiplier's exponent valuesymbol - The multiplier's symbolprefix - The multiplier's prefix| Method Detail |
public static Mult[] getSIMultipliers()
Mult objects
Mult objectspublic java.lang.String toString()
Mult object.
Mult objectpublic int compareTo(Mult that)
that - The Mult to compare
public int compareTo(java.lang.Object obj)
compareTo in interface java.lang.Comparableobj - The Object to compare
ClassCastException - if the argument is not an
Mult.
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||