Uses of Interface
org.openjdk.jmc.common.unit.ITypedQuantity
-
Packages that use ITypedQuantity Package Description org.openjdk.jmc.common.unit This package contains the data model for quantities and units. -
-
Uses of ITypedQuantity in org.openjdk.jmc.common.unit
Classes in org.openjdk.jmc.common.unit that implement ITypedQuantity Modifier and Type Class Description (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>>
Fields in org.openjdk.jmc.common.unit declared as ITypedQuantity Modifier and Type Field Description private ITypedQuantity<U>
QuantityRange.WithEnd. end
private ITypedQuantity<LinearUnit>
QuantityRange.WithExtent. extent
protected ITypedQuantity<U>
QuantityRange. start
Fields in org.openjdk.jmc.common.unit with type parameters of type ITypedQuantity Modifier and Type Field Description protected java.util.ArrayList<ITypedQuantity<LinearUnit>>
CustomUnitSelector. tickList
Methods in org.openjdk.jmc.common.unit that return ITypedQuantity Modifier and Type Method Description ITypedQuantity<U>
ITypedQuantity. add(ITypedQuantity<LinearUnit> addend)
protected ITypedQuantity<LinearUnit>
LinearUnit. add(long numericalAugend, LinearUnit addendUnit, long numericalAddend)
ITypedQuantity<U>
ScalarQuantity.DoubleStored. add(ITypedQuantity<LinearUnit> addend)
ITypedQuantity<U>
ScalarQuantity.LongStored. add(ITypedQuantity<LinearUnit> addend)
protected ITypedQuantity<TimestampUnit>
TimestampUnit. add(long numericalAugend, LinearUnit addendUnit, long numericalAddend)
protected abstract ITypedQuantity<U>
TypedUnit. add(long numericalAugend, LinearUnit addendUnit, long numericalAddend)
protected ITypedQuantity<U>
TypedUnit. addPossiblyIntegral(long numericalAugend, IScalarAffineTransform addendValueTransform, long numericalAddend)
ITypedQuantity<LinearUnit>
LinearUnit. asWellKnownQuantity()
ITypedQuantity<LinearUnit>
LinearUnit.Custom. asWellKnownQuantity()
ITypedQuantity<LinearUnit>
LinearUnit. customParseInteractive(java.lang.String interactiveQuantity)
Parse an interactive string, likeKindOfQuantity.parseInteractive(String)
, with the addition that this unit is accepted, even if not generally by the kind of quantity.ITypedQuantity<U>
ITypedQuantity. floorQuantize(ITypedQuantity<LinearUnit> quanta)
protected ITypedQuantity<LinearUnit>
LinearUnit. floorQuantize(double numericalValue, ITypedQuantity<LinearUnit> quanta)
protected ITypedQuantity<LinearUnit>
LinearUnit. floorQuantize(long numericalValue, ITypedQuantity<LinearUnit> quanta)
ITypedQuantity<U>
ScalarQuantity.DoubleStored. floorQuantize(ITypedQuantity<LinearUnit> quanta)
ITypedQuantity<U>
ScalarQuantity.LongStored. floorQuantize(ITypedQuantity<LinearUnit> quanta)
protected ITypedQuantity<TimestampUnit>
TimestampUnit. floorQuantize(double numericalValue, ITypedQuantity<LinearUnit> quanta)
protected ITypedQuantity<TimestampUnit>
TimestampUnit. floorQuantize(long numericalValue, ITypedQuantity<LinearUnit> quanta)
protected abstract ITypedQuantity<U>
TypedUnit. floorQuantize(double numericalValue, ITypedQuantity<LinearUnit> quanta)
protected abstract ITypedQuantity<U>
TypedUnit. floorQuantize(long numericalValue, ITypedQuantity<LinearUnit> quanta)
abstract ITypedQuantity<U>
QuantityRange. getEnd()
ITypedQuantity<U>
QuantityRange.Point. getEnd()
ITypedQuantity<U>
QuantityRange.WithEnd. getEnd()
ITypedQuantity<U>
QuantityRange.WithExtent. getEnd()
ITypedQuantity<LinearUnit>
QuantityRange.WithEnd. getExtent()
ITypedQuantity<LinearUnit>
QuantityRange.WithExtent. getExtent()
ITypedQuantity<U>
QuantityRange. getStart()
ITypedQuantity<U>
ITypedQuantity. in(U targetUnit)
Get this quantity expressed in the unittargetUnit
.ITypedQuantity<U>
ScalarQuantity. in(U targetUnit)
ITypedQuantity<U>
ITypedQuantity. multiply(double factor)
ITypedQuantity<U>
ITypedQuantity. multiply(long factor)
ITypedQuantity<U>
ScalarQuantity.DoubleStored. multiply(double factor)
ITypedQuantity<U>
ScalarQuantity.DoubleStored. multiply(long factor)
ITypedQuantity<U>
ScalarQuantity.LongStored. multiply(double factor)
ITypedQuantity<U>
ScalarQuantity.LongStored. multiply(long factor)
abstract ITypedQuantity<U>
KindOfQuantity. parseInteractive(java.lang.String interactiveQuantity)
Parse an interactive string.ITypedQuantity<LinearUnit>
LinearKindOfQuantity. parseInteractive(java.lang.String interactiveQuantity)
ITypedQuantity<LinearUnit>
LinearKindOfQuantity. parseInteractive(java.lang.String interactiveQuantity, java.util.Map<java.lang.String,? extends LinearUnit> symbolToUnitMap)
ITypedQuantity<TimestampUnit>
TimestampKind. parseInteractive(java.lang.String interactiveQuantity)
abstract ITypedQuantity<U>
KindOfQuantity. parsePersisted(java.lang.String persistedQuantity)
Parse a persisted string.ITypedQuantity<LinearUnit>
LinearKindOfQuantity. parsePersisted(java.lang.String persistedQuantity)
ITypedQuantity<TimestampUnit>
TimestampKind. parsePersisted(java.lang.String persistedQuantity)
ITypedQuantity<LinearUnit>
LinearUnit. quantity(double numericalValue)
ITypedQuantity<LinearUnit>
LinearUnit. quantity(long numericalValue)
ITypedQuantity<TimestampUnit>
TimestampUnit. quantity(double numericalValue)
ITypedQuantity<TimestampUnit>
TimestampUnit. quantity(long numericalValue)
ITypedQuantity<TimestampUnit>
TimestampUnit. quantity(java.lang.Number numericalValue)
abstract ITypedQuantity<U>
TypedUnit. quantity(double numericalValue)
abstract ITypedQuantity<U>
TypedUnit. quantity(long numericalValue)
ITypedQuantity<U>
TypedUnit. quantity(java.lang.Number value)
ITypedQuantity<LinearUnit>
BinaryUnitSelector. snapToBestBetweenHalfAndEqual(ITypedQuantity<LinearUnit> upperLimit)
ITypedQuantity<LinearUnit>
CustomUnitSelector. snapToBestBetweenHalfAndEqual(ITypedQuantity<LinearUnit> upperLimit)
ITypedQuantity<LinearUnit>
DecimalUnitSelector. snapToBestBetweenHalfAndEqual(ITypedQuantity<LinearUnit> upperLimit)
ITypedQuantity<LinearUnit>
LinearKindOfQuantity.LinearUnitSelector. snapToBestBetweenHalfAndEqual(ITypedQuantity<LinearUnit> upperLimit)
ITypedQuantity<LinearUnit>
LinearKindOfQuantity. snapToBestBetweenHalfAndEqual(ITypedQuantity<LinearUnit> upperLimit)
ITypedQuantity<LinearUnit>
ITypedQuantity. subtract(ITypedQuantity<U> subtrahend)
ITypedQuantity<LinearUnit>
ScalarQuantity.DoubleStored. subtract(ITypedQuantity<U> subtrahend)
ITypedQuantity<LinearUnit>
ScalarQuantity.LongStored. subtract(ITypedQuantity<U> subtrahend)
protected ITypedQuantity<U>
ScalarQuantity.DoubleStored. subtractLinear(ITypedQuantity<LinearUnit> subtrahend)
protected ITypedQuantity<U>
ScalarQuantity.LongStored. subtractLinear(ITypedQuantity<LinearUnit> subtrahend)
protected abstract ITypedQuantity<U>
ScalarQuantity. subtractLinear(ITypedQuantity<LinearUnit> subtrahend)
protected ITypedQuantity<LinearUnit>
LinearUnit. subtractSame(long numericalMinuend, LinearUnit subtrahendUnit, long numericalSubtrahend)
protected ITypedQuantity<LinearUnit>
TimestampUnit. subtractSame(long numericalMinuend, TimestampUnit subtrahendUnit, long numericalSubtrahend)
protected abstract ITypedQuantity<LinearUnit>
TypedUnit. subtractSame(long numericalMinuend, U subtrahendUnit, long numericalSubtrahend)
Methods in org.openjdk.jmc.common.unit with parameters of type ITypedQuantity Modifier and Type Method Description ITypedQuantity<U>
ITypedQuantity. add(ITypedQuantity<LinearUnit> addend)
ITypedQuantity<U>
ScalarQuantity.DoubleStored. add(ITypedQuantity<LinearUnit> addend)
ITypedQuantity<U>
ScalarQuantity.LongStored. add(ITypedQuantity<LinearUnit> addend)
static <U extends TypedUnit<U>>
IRange<IQuantity>QuantityRange. createWithExtent(IQuantity start, ITypedQuantity<LinearUnit> extent)
ITypedQuantity<U>
ITypedQuantity. floorQuantize(ITypedQuantity<LinearUnit> quanta)
protected ITypedQuantity<LinearUnit>
LinearUnit. floorQuantize(double numericalValue, ITypedQuantity<LinearUnit> quanta)
protected ITypedQuantity<LinearUnit>
LinearUnit. floorQuantize(long numericalValue, ITypedQuantity<LinearUnit> quanta)
ITypedQuantity<U>
ScalarQuantity.DoubleStored. floorQuantize(ITypedQuantity<LinearUnit> quanta)
ITypedQuantity<U>
ScalarQuantity.LongStored. floorQuantize(ITypedQuantity<LinearUnit> quanta)
protected ITypedQuantity<TimestampUnit>
TimestampUnit. floorQuantize(double numericalValue, ITypedQuantity<LinearUnit> quanta)
protected ITypedQuantity<TimestampUnit>
TimestampUnit. floorQuantize(long numericalValue, ITypedQuantity<LinearUnit> quanta)
protected abstract ITypedQuantity<U>
TypedUnit. floorQuantize(double numericalValue, ITypedQuantity<LinearUnit> quanta)
protected abstract ITypedQuantity<U>
TypedUnit. floorQuantize(long numericalValue, ITypedQuantity<LinearUnit> quanta)
protected IRange<IQuantity>
KindOfQuantity. getFirstBucket(ITypedQuantity<U> start, ITypedQuantity<U> end, double maxBuckets)
LinearUnit
BinaryUnitSelector. getLargestExactUnit(ITypedQuantity<LinearUnit> quantity)
LinearUnit
CustomUnitSelector. getLargestExactUnit(ITypedQuantity<LinearUnit> quantity)
LinearUnit
DecimalUnitSelector. getLargestExactUnit(ITypedQuantity<LinearUnit> quantity)
U
TypedUnit.UnitSelector. getLargestExactUnit(ITypedQuantity<U> quantity)
Get the largest unit, if any, in which this quantity can be expressed exactly, typically with an integer.LinearUnit
BinaryUnitSelector. getPreferredUnit(ITypedQuantity<LinearUnit> quantity, double minNumericalValue, double maxNumericalValue)
LinearUnit
CustomUnitSelector. getPreferredUnit(ITypedQuantity<LinearUnit> quantity, double minNumericalValue, double maxNumericalValue)
LinearUnit
DecimalUnitSelector. getPreferredUnit(ITypedQuantity<LinearUnit> quantity, double minNumericalValue, double maxNumericalValue)
U
TypedUnit.UnitSelector. getPreferredUnit(ITypedQuantity<U> quantity, double minNumericalValue, double maxNumericalValue)
LinearUnit
LinearKindOfQuantity. makeCustomUnit(ITypedQuantity<LinearUnit> quantity)
Create a custom unit.private LinearUnit
LinearKindOfQuantity. makeUnit(java.lang.String id, java.lang.String localizedSymbol, ITypedQuantity<LinearUnit> quantity, java.lang.String localizedName, boolean custom)
Create an off-system unit.LinearUnit
LinearKindOfQuantity. makeUnit(java.lang.String id, ITypedQuantity<LinearUnit> quantity)
Create an off-system unit with no default localized name.LinearUnit
LinearKindOfQuantity. makeUnit(java.lang.String id, ITypedQuantity<LinearUnit> quantity, java.lang.String localizedName)
private static java.lang.String
QuantityConversionException.Quantity. readableProto(ITypedQuantity<LinearUnit> prototype, LinearUnit userUnit)
Produce a string that presents a prototype value.ITypedQuantity<LinearUnit>
BinaryUnitSelector. snapToBestBetweenHalfAndEqual(ITypedQuantity<LinearUnit> upperLimit)
ITypedQuantity<LinearUnit>
CustomUnitSelector. snapToBestBetweenHalfAndEqual(ITypedQuantity<LinearUnit> upperLimit)
ITypedQuantity<LinearUnit>
DecimalUnitSelector. snapToBestBetweenHalfAndEqual(ITypedQuantity<LinearUnit> upperLimit)
ITypedQuantity<LinearUnit>
LinearKindOfQuantity.LinearUnitSelector. snapToBestBetweenHalfAndEqual(ITypedQuantity<LinearUnit> upperLimit)
ITypedQuantity<LinearUnit>
LinearKindOfQuantity. snapToBestBetweenHalfAndEqual(ITypedQuantity<LinearUnit> upperLimit)
ITypedQuantity<LinearUnit>
ITypedQuantity. subtract(ITypedQuantity<U> subtrahend)
ITypedQuantity<LinearUnit>
ScalarQuantity.DoubleStored. subtract(ITypedQuantity<U> subtrahend)
ITypedQuantity<LinearUnit>
ScalarQuantity.LongStored. subtract(ITypedQuantity<U> subtrahend)
protected ITypedQuantity<U>
ScalarQuantity.DoubleStored. subtractLinear(ITypedQuantity<LinearUnit> subtrahend)
protected ITypedQuantity<U>
ScalarQuantity.LongStored. subtractLinear(ITypedQuantity<LinearUnit> subtrahend)
protected abstract ITypedQuantity<U>
ScalarQuantity. subtractLinear(ITypedQuantity<LinearUnit> subtrahend)
Method parameters in org.openjdk.jmc.common.unit with type arguments of type ITypedQuantity Modifier and Type Method Description private static void
UnitLookup. addQuantities(java.util.Collection<ITypedQuantity<LinearUnit>> result, LinearUnit unit, java.lang.Number... numbers)
Constructors in org.openjdk.jmc.common.unit with parameters of type ITypedQuantity Constructor Description Point(ITypedQuantity<U> start)
QuantityRange(ITypedQuantity<U> start)
WithEnd(ITypedQuantity<U> start, ITypedQuantity<U> end)
WithExtent(ITypedQuantity<U> start, ITypedQuantity<LinearUnit> extent)
Constructor parameters in org.openjdk.jmc.common.unit with type arguments of type ITypedQuantity Constructor Description CustomUnitSelector(LinearKindOfQuantity kindOfQuantity, LinearKindOfQuantity.LinearUnitSelector smallSelector, java.util.Collection<LinearUnit> units, LinearKindOfQuantity.LinearUnitSelector bigSelector, java.util.SortedSet<ITypedQuantity<LinearUnit>> ticks)
-