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>
BASE
The base, with "m2" as the SI signature.static VolumeUnit
CUBIC_CENTIMETER
cm^3.static VolumeUnit
CUBIC_DECAMETER
dam^3.static VolumeUnit
CUBIC_DECIMETER
dm^3.static VolumeUnit
CUBIC_FOOT
ft^3.static VolumeUnit
CUBIC_HECTOMETER
hm^3.static VolumeUnit
CUBIC_INCH
in^3.static VolumeUnit
CUBIC_KILOMETER
km^3.static VolumeUnit
CUBIC_LIGHTYEAR
Cubic lightyear.static VolumeUnit
CUBIC_METER
m^3.static VolumeUnit
CUBIC_MILE
mile^3.static VolumeUnit
CUBIC_MILLIMETER
mm^3.static VolumeUnit
CUBIC_NAUTICAL_MILE
Nautical mile^3.static VolumeUnit
CUBIC_PARSEC
Cubic Parsec.static VolumeUnit
CUBIC_YARD
yd^3.static VolumeUnit
FLUID_OUNCE_IMP
ounce (fluid imperial) = 1/20 imp pint.static VolumeUnit
FLUID_OUNCE_US
ounce (fluid US) = 1/16 US pint.static VolumeUnit
GALLON_IMP
gallon (imperial).static VolumeUnit
GALLON_US
gallon (US), fluids.static VolumeUnit
LITER
liter.static VolumeUnit
PINT_IMP
pint (imperial) = 1/2 imp quart.static VolumeUnit
PINT_US
pint (fluid US) = 1/2 US quart.static VolumeUnit
QUART_IMP
quart (imperial) = 1/4 imp gallon.static VolumeUnit
QUART_US
quart (fluid US) = 1/4 US gallon.static VolumeUnit
SI
The 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()
-