Package org.djunits.unit
Class VolumeUnit
- All Implemented Interfaces:
Serializable,Cloneable
public class VolumeUnit extends Unit<VolumeUnit>
VolumeUnit defines a number of common units for volumes.
Copyright (c) 2015-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
- Author:
- Alexander Verbraeck
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class org.djunits.unit.Unit
Unit.Builder<U extends Unit<U>> -
Field Summary
Fields Modifier and Type Field Description static Quantity<VolumeUnit>BASEThe base, with "m2" as the SI signature.static VolumeUnitCUBIC_CENTIMETERcm^3.static VolumeUnitCUBIC_DECAMETERdam^3.static VolumeUnitCUBIC_DECIMETERdm^3.static VolumeUnitCUBIC_FOOTft^3.static VolumeUnitCUBIC_HECTOMETERhm^3.static VolumeUnitCUBIC_INCHin^3.static VolumeUnitCUBIC_KILOMETERkm^3.static VolumeUnitCUBIC_LIGHTYEARCubic lightyear.static VolumeUnitCUBIC_METERm^3.static VolumeUnitCUBIC_MILEmile^3.static VolumeUnitCUBIC_MILLIMETERmm^3.static VolumeUnitCUBIC_NAUTICAL_MILENautical mile^3.static VolumeUnitCUBIC_PARSECCubic Parsec.static VolumeUnitCUBIC_YARDyd^3.static VolumeUnitFLUID_OUNCE_IMPounce (fluid imperial) = 1/20 imp pint.static VolumeUnitFLUID_OUNCE_USounce (fluid US) = 1/16 US pint.static VolumeUnitGALLON_IMPgallon (imperial).static VolumeUnitGALLON_USgallon (US), fluids.static VolumeUnitLITERliter.static VolumeUnitPINT_IMPpint (imperial) = 1/2 imp quart.static VolumeUnitPINT_USpint (fluid US) = 1/2 US quart.static VolumeUnitQUART_IMPquart (imperial) = 1/4 imp gallon.static VolumeUnitQUART_USquart (fluid US) = 1/4 US gallon.static VolumeUnitSIThe SI unit for area is m^3. -
Constructor Summary
Constructors Constructor Description VolumeUnit() -
Method Summary
Methods inherited from class org.djunits.unit.Unit
build, clone, deriveLinear, deriveLinear, deriveLinear, derivePerSI, deriveSI, deriveSI, deriveSIKilo, equals, getAbbreviations, getDefaultDisplayAbbreviation, getDefaultTextualAbbreviation, getId, getName, getQuantity, getScale, getStandardUnit, getUnit, getUnitSystem, hashCode, isBaseSIUnit, isGenerated, lookupOrCreateUnitWithSIDimensions, makeBuilder, toString
-
Field Details
-
BASE
The base, with "m2" as the SI signature. -
SI
The SI unit for area is m^3. -
CUBIC_METER
m^3. -
CUBIC_MILLIMETER
mm^3. -
CUBIC_CENTIMETER
cm^3. -
CUBIC_DECIMETER
dm^3. -
CUBIC_DECAMETER
dam^3. -
CUBIC_HECTOMETER
hm^3. -
CUBIC_KILOMETER
km^3. -
CUBIC_MILE
mile^3. -
CUBIC_NAUTICAL_MILE
Nautical mile^3. -
CUBIC_FOOT
ft^3. -
CUBIC_INCH
in^3. -
CUBIC_YARD
yd^3. -
LITER
liter. -
GALLON_US
gallon (US), fluids. -
GALLON_IMP
gallon (imperial). -
QUART_US
quart (fluid US) = 1/4 US gallon. -
QUART_IMP
quart (imperial) = 1/4 imp gallon. -
PINT_US
pint (fluid US) = 1/2 US quart. -
PINT_IMP
pint (imperial) = 1/2 imp quart. -
FLUID_OUNCE_US
ounce (fluid US) = 1/16 US pint. -
FLUID_OUNCE_IMP
ounce (fluid imperial) = 1/20 imp pint. -
CUBIC_LIGHTYEAR
Cubic lightyear. -
CUBIC_PARSEC
Cubic Parsec.
-
-
Constructor Details
-
VolumeUnit
public VolumeUnit()
-