public final class VolumeUnit extends AbstractProductUnit<LengthUnit,AreaUnit,Volume,VolumeUnit>
ComparableUsing.EqualityMode, ComparableUsing.Operator
Modifier and Type | Field and Description |
---|---|
static VolumeUnit |
BASE |
static VolumeUnit |
CUP |
static VolumeUnit |
FLUID_OZ |
static VolumeUnit |
GALLON |
static VolumeUnit |
LITER |
static VolumeUnit |
MILLI_LITER |
static VolumeUnit |
PINT |
static VolumeUnit |
QUART |
static VolumeUnit |
TABLE_SPOON |
static VolumeUnit |
TEA_SPOON |
Modifier and Type | Method and Description |
---|---|
LengthUnit |
div(AreaUnit len) |
static VolumeUnit |
get(LengthUnit lengthUnit,
AreaUnit areaUnit) |
static VolumeUnit |
get(LengthUnit lengthUnit,
AreaUnit areaUnit,
Rational factor,
String name,
String symbol) |
AreaUnit |
getAreaUnit() |
String |
getFullName() |
String |
getFullSymbol() |
boolean |
getIsCubic() |
LengthUnit |
getLengthUnit() |
String |
getSymbol() |
Volume |
makeDimension(Number amount) |
MassUnit |
times(DensityUnit density) |
div, getName, toBaseUnits, toNumber
equals, from, getFactor, getLeftUnit, getRightUnit, hashCode, toString
clone, emptyArray, finalize, getClass, jailbreak, notify, notifyAll, wait, wait, wait
compareTo, copy, fromNumber, postfixBind
div, div, minus, plus, rem, rem, times, toBaseNumber, unaryMinus
compareToUsing, equalityMode
public static final VolumeUnit BASE
public static final VolumeUnit LITER
public static final VolumeUnit MILLI_LITER
public static final VolumeUnit FLUID_OZ
public static final VolumeUnit GALLON
public static final VolumeUnit QUART
public static final VolumeUnit PINT
public static final VolumeUnit CUP
public static final VolumeUnit TABLE_SPOON
public static final VolumeUnit TEA_SPOON
public static VolumeUnit get(LengthUnit lengthUnit, AreaUnit areaUnit)
public static VolumeUnit get(LengthUnit lengthUnit, AreaUnit areaUnit, Rational factor, String name, String symbol)
public AreaUnit getAreaUnit()
public LengthUnit getLengthUnit()
public String getFullName()
getFullName
in interface Unit<Volume,VolumeUnit>
getFullName
in class AbstractProductUnit<LengthUnit,AreaUnit,Volume,VolumeUnit>
public String getFullSymbol()
getFullSymbol
in interface Unit<Volume,VolumeUnit>
getFullSymbol
in class AbstractProductUnit<LengthUnit,AreaUnit,Volume,VolumeUnit>
public String getSymbol()
getSymbol
in interface Unit<Volume,VolumeUnit>
getSymbol
in class AbstractProductUnit<LengthUnit,AreaUnit,Volume,VolumeUnit>
public boolean getIsCubic()
public LengthUnit div(AreaUnit len)
public MassUnit times(DensityUnit density)
Copyright © 2024. All rights reserved.