Package | Description |
---|---|
org.openjdk.jmc.common.unit |
This package contains the data model for quantities and units.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ITypedQuantity<U extends TypedUnit<U>>
Type parameterized extension of
IQuantity . |
class |
KindOfQuantity<U extends TypedUnit<U>> |
static class |
KindOfQuantity.ExactFormatter<U extends TypedUnit<U>> |
static class |
KindOfQuantity.VerboseFormatter<U extends TypedUnit<U>> |
class |
QuantityRange<U extends TypedUnit<U>>
A finite range of quantities.
|
private static class |
QuantityRange.Point<U extends TypedUnit<U>> |
private static class |
QuantityRange.WithEnd<U extends TypedUnit<U>> |
private static class |
QuantityRange.WithExtent<U extends TypedUnit<U>> |
(package private) class |
ScalarQuantity<U extends TypedUnit<U>>
A scalar physical quantity value, conceptually a (real) number with a unit.
|
static class |
ScalarQuantity.DoubleStored<U extends TypedUnit<U>> |
static class |
ScalarQuantity.LongStored<U extends TypedUnit<U>> |
class |
TypedUnit<U extends TypedUnit<U>>
Type parameterized extension of
IUnit . |
static interface |
TypedUnit.UnitSelector<U extends TypedUnit<U>> |
Modifier and Type | Class and Description |
---|---|
class |
LinearUnit
A measurement unit for a particular kind of quantity.
|
protected static class |
LinearUnit.Custom |
class |
TimestampUnit |
Modifier and Type | Field and Description |
---|---|
protected U |
ScalarQuantity.unit |
Modifier and Type | Method and Description |
---|---|
static <U extends TypedUnit<U>> |
QuantityRange.createPoint(IQuantity start) |
static <U extends TypedUnit<U>> |
QuantityRange.createWithEnd(IQuantity start,
IQuantity end) |
static <U extends TypedUnit<U>> |
QuantityRange.createWithExtent(IQuantity start,
ITypedQuantity<LinearUnit> extent) |
static <U extends TypedUnit<U>> |
KindOfQuantity.format(java.lang.Number number,
IUnit unit)
Convenience method (possibly temporary) until type parameters has settled.
|