|
Jeospace API | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use MassUnit | |
| org.jeospace.measure | Contains classes that describe and manipulate quantities of measurement. |
| org.jeospace.text | Contains classes for handling the textual representation of measurement and identity objects |
| Uses of MassUnit in org.jeospace.measure |
| Fields in org.jeospace.measure declared as MassUnit | |
protected MassUnit |
Mass.units
The units |
static MassUnit |
MassUnit.GRAM
Unit identifier - GRAM |
static MassUnit |
MassUnit.TONNE
Unit identifier - TONNE = 1000 kilograms |
static MassUnit |
MassUnit.SLUG
Unit identifier - SLUG |
static MassUnit |
MassUnit.GRAIN
Unit identifier - GRAIN |
static MassUnit |
MassUnit.AVOIRDUPOIS_DRAM
Unit identifier - AVOIRDUPOIS_DRAM = 27.34375 Grains |
static MassUnit |
MassUnit.AVOIRDUPOIS_OUNCE
Unit identifier - AVOIRDUPOIS_OUNCE = 16 Drams = 437.5 Grains |
static MassUnit |
MassUnit.AVOIRDUPOIS_POUND
Unit identifier - AVOIRDUPOIS_POUND = 16 Ounces = 7000 Grains |
static MassUnit |
MassUnit.SHORT_HUNDREDWEIGHT
Unit identifier - SHORT_HUNDREDWEIGHT = 100 Pounds |
static MassUnit |
MassUnit.SHORT_TON
Unit identifier - SHORT_TON = 20 Hundredweights = 2000 Pounds |
static MassUnit |
MassUnit.STONE
Unit identifier - STONE = 14 Pounds |
static MassUnit |
MassUnit.QUARTER
Unit identifier - QUARTER = 2 Stone |
static MassUnit |
MassUnit.LONG_HUNDREDWEIGHT
Unit identifier - LONG_HUNDREDWEIGHT = 4 Quarters = 8 Stone = 112 Pounds |
static MassUnit |
MassUnit.LONG_TON
Unit identifier - LONG_TON = 20 Long Hundredweights = 2240 Pounds |
static MassUnit |
MassUnit.APOTHECARY_SCRUPLE
Unit identifier - APOTHECARY_SCRUPLE = 20 Grains |
static MassUnit |
MassUnit.APOTHECARY_DRAM
Unit identifier - APOTHECARY_DRAM = 3 Scruples |
static MassUnit |
MassUnit.APOTHECARY_OUNCE
Unit identifier - APOTHECARY_OUNCE = 8 Drams |
static MassUnit |
MassUnit.APOTHECARY_POUND
Unit identifier - APOTHECARY_POUND = 12 Ounces |
static MassUnit |
MassUnit.TROY_PENNYWEIGHT
Unit identifier - TROY_PENNYWEIGHT = 24 Grains |
static MassUnit |
MassUnit.TROY_OUNCE
Unit identifier - TROY_OUNCE = 20 Pennyweights = APOTHECARY_OUNCE |
static MassUnit |
MassUnit.TROY_POUND
Unit identifier - TROY_POUND = 12 Ounces = APOTHECARY_POUND |
static MassUnit |
MassUnit.CARAT
Unit identifier - CARAT = 0.2 Grams |
| Methods in org.jeospace.measure that return MassUnit | |
MassUnit |
Mass.getUnits()
Return the MassUnit component of this Mass object. |
static MassUnit[] |
MassUnit.getMassUnits()
Return an array of the defined MassUnit objects |
| Methods in org.jeospace.measure with parameters of type MassUnit | |
void |
Mass.set(double magnitude,
MassUnit units)
Set this Mass object to the specified value. |
void |
Mass.set(double magnitude,
Mult inMultiplier,
MassUnit inUnits)
Set this Mass object to the specified value. |
double |
Mass.getMagnitude(MassUnit inUnits)
Return the double value of the magnitude of this Mass object
in the specified units. |
double |
Mass.getMagnitude(Mult inMultiplier,
MassUnit inUnits)
Return the double value of the magnitude of this Mass object
in the specified multiplier and units. |
| Constructors in org.jeospace.measure with parameters of type MassUnit | |
Mass(double magnitude,
MassUnit units)
Construct a Mass object. |
|
Mass(double magnitude,
Mult multiplier,
MassUnit units)
Construct a Mass object. |
|
| Uses of MassUnit in org.jeospace.text |
| Fields in org.jeospace.text declared as MassUnit | |
protected MassUnit |
MassFormat.units
|
protected static MassUnit[] |
MassFormat.UNIT
|
| Methods in org.jeospace.text with parameters of type MassUnit | |
void |
MassFormat.setFormatOptions(Mult multiplier,
MassUnit units)
Set the multiplier and units of display for the format method of this MassFormat object. |
java.lang.String[] |
MassUnitSymbols.getSymbols(MassUnit[] mu)
Return an array of localized symbols cooresponding to the passed MassUnit objects. |
java.lang.String |
MassUnitSymbols.getSymbol(MassUnit mu)
Return the localized symbol cooresponding to the passed MassUnit object. |
java.lang.String[] |
MassUnitNames.getNames(MassUnit[] mu)
Return an array of localized names cooresponding to the passed MassUnit objects. |
java.lang.String |
MassUnitNames.getName(MassUnit mu)
Return the localized name cooresponding to the passed MassUnit object. |
| Constructors in org.jeospace.text with parameters of type MassUnit | |
MassFormat(Mult multiplier,
MassUnit units)
Construct a MassFormat object initialized to the default locale and
specified multiplier and Mass units. |
|
MassFormat(java.util.Locale locale,
Mult multiplier,
MassUnit units)
Construct a MassFormat object initialized to the specified locale,
multiplier and Mass units. |
|
|
Jeospace API | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||