Package | Description |
---|---|
org.openjdk.jmc.common.unit |
This package contains the data model for quantities and units.
|
Modifier and Type | Field and Description |
---|---|
DecimalPrefix |
BinaryPrefix.prefixSI
Deprecated.
Accept that kilobytes and kibibytes are different units.
|
private static DecimalPrefix[] |
DecimalPrefix.THOUSANDS |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,DecimalPrefix> |
DecimalPrefix.PREFIX_BY_SYMBOL |
Modifier and Type | Method and Description |
---|---|
static DecimalPrefix |
DecimalPrefix.getEngFloorPrefix(double value) |
static DecimalPrefix |
DecimalPrefix.getPrefix(java.lang.String symbol) |
static DecimalPrefix |
DecimalPrefix.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DecimalPrefix[] |
DecimalPrefix.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
DecimalScaleFactor |
DecimalPrefix.valueFactorTo(DecimalPrefix targetPrefix) |
Modifier and Type | Method and Description |
---|---|
LinearKindOfQuantity.LinearUnitSelector |
DecimalPrefix.createUnitSelector(LinearKindOfQuantity kindOfQuantity,
java.lang.Iterable<DecimalPrefix> prefixes) |
Constructor and Description |
---|
DecimalUnitSelector(LinearKindOfQuantity kindOfQuantity,
java.lang.Iterable<DecimalPrefix> prefixes) |