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.
|
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 | 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(Number number,
IUnit unit)
Convenience method (possibly temporary) until type parameters has settled.
|
Copyright © 2019. All rights reserved.