|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.measure.MassUnit
Constant object identifiers for the units of mass
as represented by Mass objects.
For reference see:
http://ts.nist.gov/ts/htdocs/230/235/h4402/appenc.pdf
which contains values and conversion factors for many non-SI forms of measurement.
http://www.unc.edu/~rowlett/units/index.html
which contains values and anecdotal information on many forms of measurement
Mass| Field Summary | |
static MassUnit |
APOTHECARY_DRAM
Unit identifier - APOTHECARY_DRAM = 3 Scruples |
static MassUnit |
APOTHECARY_OUNCE
Unit identifier - APOTHECARY_OUNCE = 8 Drams |
static MassUnit |
APOTHECARY_POUND
Unit identifier - APOTHECARY_POUND = 12 Ounces |
static MassUnit |
APOTHECARY_SCRUPLE
Unit identifier - APOTHECARY_SCRUPLE = 20 Grains |
static MassUnit |
AVOIRDUPOIS_DRAM
Unit identifier - AVOIRDUPOIS_DRAM = 27.34375 Grains |
static MassUnit |
AVOIRDUPOIS_OUNCE
Unit identifier - AVOIRDUPOIS_OUNCE = 16 Drams = 437.5 Grains |
static MassUnit |
AVOIRDUPOIS_POUND
Unit identifier - AVOIRDUPOIS_POUND = 16 Ounces = 7000 Grains |
static MassUnit |
CARAT
Unit identifier - CARAT = 0.2 Grams |
static MassUnit |
GRAIN
Unit identifier - GRAIN |
static MassUnit |
GRAM
Unit identifier - GRAM |
double |
grams
The value of the unit of mass in SI units (grams) |
static MassUnit |
LONG_HUNDREDWEIGHT
Unit identifier - LONG_HUNDREDWEIGHT = 4 Quarters = 8 Stone = 112 Pounds |
static MassUnit |
LONG_TON
Unit identifier - LONG_TON = 20 Long Hundredweights = 2240 Pounds |
java.lang.String |
name
The name of the unit of mass |
static MassUnit |
QUARTER
Unit identifier - QUARTER = 2 Stone |
static MassUnit |
SHORT_HUNDREDWEIGHT
Unit identifier - SHORT_HUNDREDWEIGHT = 100 Pounds |
static MassUnit |
SHORT_TON
Unit identifier - SHORT_TON = 20 Hundredweights = 2000 Pounds |
static MassUnit |
SLUG
Unit identifier - SLUG |
static MassUnit |
STONE
Unit identifier - STONE = 14 Pounds |
java.lang.String |
symbol
The symbol of the unit of mass |
static MassUnit |
TONNE
Unit identifier - TONNE = 1000 kilograms |
static MassUnit |
TROY_OUNCE
Unit identifier - TROY_OUNCE = 20 Pennyweights = APOTHECARY_OUNCE |
static MassUnit |
TROY_PENNYWEIGHT
Unit identifier - TROY_PENNYWEIGHT = 24 Grains |
static MassUnit |
TROY_POUND
Unit identifier - TROY_POUND = 12 Ounces = APOTHECARY_POUND |
| Constructor Summary | |
protected |
MassUnit(java.lang.String name,
java.lang.String symbol,
double grams)
Construct a MassUnit object. |
| Method Summary | |
static MassUnit[] |
getMassUnits()
Return an array of the defined MassUnit objects |
java.lang.String |
toString()
Return a String representation ( the name String ) of this MassUnit object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final MassUnit GRAM
public static final MassUnit TONNE
public static final MassUnit SLUG
public static final MassUnit GRAIN
public static final MassUnit AVOIRDUPOIS_DRAM
public static final MassUnit AVOIRDUPOIS_OUNCE
public static final MassUnit AVOIRDUPOIS_POUND
public static final MassUnit SHORT_HUNDREDWEIGHT
public static final MassUnit SHORT_TON
public static final MassUnit STONE
public static final MassUnit QUARTER
public static final MassUnit LONG_HUNDREDWEIGHT
public static final MassUnit LONG_TON
public static final MassUnit APOTHECARY_SCRUPLE
public static final MassUnit APOTHECARY_DRAM
public static final MassUnit APOTHECARY_OUNCE
public static final MassUnit APOTHECARY_POUND
public static final MassUnit TROY_PENNYWEIGHT
public static final MassUnit TROY_OUNCE
public static final MassUnit TROY_POUND
public static final MassUnit CARAT
public final java.lang.String name
public final java.lang.String symbol
public final double grams
| Constructor Detail |
protected MassUnit(java.lang.String name,
java.lang.String symbol,
double grams)
MassUnit object.
name - the unit of mass's identifiersymbol - the unit of mass's symbolgrams - the unit of mass's value in grams| Method Detail |
public static MassUnit[] getMassUnits()
MassUnit objects
MassUnit objectspublic java.lang.String toString()
MassUnit object.
MassUnit object
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||