Package | Description |
---|---|
org.openjdk.jmc.common.unit |
This package contains the data model for quantities and units.
|
Modifier and Type | Field and Description |
---|---|
private static BinaryPrefix[] |
BinaryPrefix.PREFIXES |
Modifier and Type | Method and Description |
---|---|
static BinaryPrefix |
BinaryPrefix.getFloorPrefix(double value) |
static BinaryPrefix |
BinaryPrefix.getFloorPrefix(long value) |
static BinaryPrefix |
BinaryPrefix.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BinaryPrefix[] |
BinaryPrefix.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
BinaryScaleFactor |
BinaryPrefix.valueFactorTo(BinaryPrefix targetPrefix) |
Modifier and Type | Method and Description |
---|---|
LinearKindOfQuantity.LinearUnitSelector |
BinaryPrefix.createUnitSelector(LinearKindOfQuantity kindOfQuantity,
java.lang.Iterable<BinaryPrefix> prefixes) |
Constructor and Description |
---|
BinaryUnitSelector(LinearKindOfQuantity kindOfQuantity,
java.lang.Iterable<BinaryPrefix> prefixes) |