Uses of Class
org.openjdk.jmc.common.unit.LinearUnit
-
Packages that use LinearUnit Package Description org.openjdk.jmc.common.unit This package contains the data model for quantities and units.org.openjdk.jmc.flightrecorder.internal.parser.v0 org.openjdk.jmc.flightrecorder.internal.parser.v1 org.openjdk.jmc.flightrecorder.rules.util -
-
Uses of LinearUnit in org.openjdk.jmc.common.unit
Subclasses of LinearUnit in org.openjdk.jmc.common.unit Modifier and Type Class Description protected static class
LinearUnit.Custom
Fields in org.openjdk.jmc.common.unit declared as LinearUnit Modifier and Type Field Description static LinearUnit
UnitLookup. ADDRESS_UNITY
protected LinearUnit
LinearKindOfQuantity. atomUnit
static LinearUnit
UnitLookup. BYTE
private LinearUnit
LinearKindOfQuantity.DualUnitFormatter. cutoffUnit
static LinearUnit
UnitLookup. DAY
private LinearUnit
LinearUnit.Custom. definitionUnit
protected LinearUnit
DecimalUnitSelector. exponentialBaseUnit
private LinearUnit
TimestampKind.FractionFormatter. fractionUnit
private LinearUnit
TimestampKind.LegacyAndFractionFormatter. fractionUnit
static LinearUnit
UnitLookup. GIBIBYTE
static LinearUnit
UnitLookup. HERTZ
static LinearUnit
UnitLookup. HOUR
static LinearUnit
UnitLookup. MICROSECOND
static LinearUnit
UnitLookup. MILLISECOND
static LinearUnit
UnitLookup. MINUTE
static LinearUnit
UnitLookup. NANOSECOND
static LinearUnit
UnitLookup. NUMBER_UNITY
static LinearUnit
UnitLookup. PERCENT
static LinearUnit
UnitLookup. PERCENT_UNITY
static LinearUnit
UnitLookup. SECOND
private LinearUnit
TimestampUnit. timeOffsetUnit
protected LinearUnit[]
CustomUnitSelector. unitArr
static LinearUnit
UnitLookup. YEAR
Fields in org.openjdk.jmc.common.unit with type parameters of type LinearUnit Modifier and Type Field Description protected java.util.Collection<LinearUnit>
LinearKindOfQuantity. allUnits
protected java.util.Collection<LinearUnit>
LinearKindOfQuantity. commonUnits
private ITypedQuantity<LinearUnit>
QuantityRange.WithExtent. extent
protected java.util.Map<java.lang.String,LinearUnit>
LinearKindOfQuantity. interactiveSymbolToUnitMap
private java.util.Map<java.lang.String,? extends LinearUnit>
LinearUnit. parseMap
protected java.util.ArrayList<ITypedQuantity<LinearUnit>>
CustomUnitSelector. tickList
protected java.util.Map<ScaleFactor,LinearUnit>
BinaryUnitSelector. unitCache
protected java.util.Map<ScaleFactor,LinearUnit>
DecimalUnitSelector. unitCache
protected java.util.Map<java.lang.Object,LinearUnit>
LinearKindOfQuantity. unitCache
private TypedUnit.UnitSelector<LinearUnit>
LinearKindOfQuantity.DualUnitFormatter. unitSelector
Methods in org.openjdk.jmc.common.unit that return LinearUnit Modifier and Type Method Description LinearUnit
LinearKindOfQuantity. getCachedUnit(java.lang.Object key)
LinearUnit
LinearKindOfQuantity. getDefaultUnit()
LinearUnit
IUnit. getDeltaUnit()
Get the unit that the difference between two quantities in this unit will have.LinearUnit
LinearUnit. getDeltaUnit()
LinearUnit
TimestampUnit. getDeltaUnit()
LinearUnit
BinaryUnitSelector. getLargestExactUnit(ITypedQuantity<LinearUnit> quantity)
LinearUnit
CustomUnitSelector. getLargestExactUnit(ITypedQuantity<LinearUnit> quantity)
LinearUnit
DecimalUnitSelector. getLargestExactUnit(ITypedQuantity<LinearUnit> quantity)
LinearUnit
LinearKindOfQuantity. getLargestExactUnit(IQuantity quantity)
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)
LinearUnit
LinearKindOfQuantity. getPreferredUnit(IQuantity quantity, double minNumericalValue, double maxNumericalValue)
private LinearUnit
BinaryUnitSelector. getRegularUnit(double absValInAtomUnit)
private LinearUnit
DecimalUnitSelector. getRegularUnit(double absValInBaseUnit, double maxNumericalValue)
protected LinearUnit
LinearUnit. getScaledUnit(LinearUnit deltaUnit)
private LinearUnit
BinaryUnitSelector. getUnit(BinaryScaleFactor factor)
private LinearUnit
DecimalUnitSelector. getUnit(DecimalScaleFactor factor)
LinearUnit
LinearKindOfQuantity. getUnit(java.lang.String id)
LinearUnit
LinearKindOfQuantity. getUnit(IPrefix<?> prefix)
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)
Methods in org.openjdk.jmc.common.unit that return types with arguments of type LinearUnit Modifier and Type Method Description protected ITypedQuantity<LinearUnit>
LinearUnit. add(long numericalAugend, LinearUnit addendUnit, 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.protected ITypedQuantity<LinearUnit>
LinearUnit. floorQuantize(double numericalValue, ITypedQuantity<LinearUnit> quanta)
protected ITypedQuantity<LinearUnit>
LinearUnit. floorQuantize(long numericalValue, ITypedQuantity<LinearUnit> quanta)
java.util.Collection<LinearUnit>
LinearKindOfQuantity. getAllUnits()
java.util.Collection<LinearUnit>
LinearKindOfQuantity. getCommonUnits()
abstract KindOfQuantity<LinearUnit>
KindOfQuantity. getDeltaKind()
KindOfQuantity<LinearUnit>
LinearKindOfQuantity. getDeltaKind()
KindOfQuantity<LinearUnit>
TimestampKind. getDeltaKind()
ITypedQuantity<LinearUnit>
QuantityRange.WithEnd. getExtent()
ITypedQuantity<LinearUnit>
QuantityRange.WithExtent. getExtent()
private TypedUnit.UnitSelector<LinearUnit>
LinearKindOfQuantity.DualUnitFormatter. getSelector()
protected java.lang.Class<LinearUnit>
LinearUnit. getUnitClass()
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<LinearUnit>
LinearKindOfQuantity. parsePersisted(java.lang.String persistedQuantity)
ITypedQuantity<LinearUnit>
LinearUnit. quantity(double numericalValue)
ITypedQuantity<LinearUnit>
LinearUnit. quantity(long numericalValue)
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<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 LinearUnit Modifier and Type Method Description protected ITypedQuantity<LinearUnit>
LinearUnit. add(long numericalAugend, LinearUnit addendUnit, long numericalAddend)
protected ITypedQuantity<TimestampUnit>
TimestampUnit. add(long numericalAugend, LinearUnit addendUnit, long numericalAddend)
protected abstract ITypedQuantity<U>
TypedUnit. add(long numericalAugend, LinearUnit addendUnit, long numericalAddend)
private static void
UnitLookup. addQuantities(java.util.Collection<ITypedQuantity<LinearUnit>> result, LinearUnit unit, java.lang.Number... numbers)
protected void
LinearKindOfQuantity. addUnit(LinearUnit unit)
protected void
LinearKindOfQuantity. addUnit(LinearUnit unit, boolean common)
Add a unit so that it is available for parsing and content assist, optionally also for direct selection by users.int
LinearUnit. compareTo(LinearUnit other)
static java.lang.String
LinearKindOfQuantity.AutoFormatter. formatInUnit(IQuantity quantity, LinearUnit customUnit, int nominalValueDigits)
protected static java.lang.String
LinearKindOfQuantity.AutoFormatter. formatWithFixedFraction(java.lang.Number numValue, LinearUnit customUnit, int numFractionDigits)
protected static java.lang.String
LinearKindOfQuantity.AutoFormatter. formatWithUnit(java.lang.Number numValue, LinearUnit customUnit, int nominalValueDigits)
protected LinearUnit
LinearUnit. getScaledUnit(LinearUnit deltaUnit)
protected TimestampUnit
TimestampUnit. getScaledUnit(LinearUnit deltaUnit)
protected abstract U
TypedUnit. getScaledUnit(LinearUnit deltaUnit)
Return a unit with the same origin (if absolute) as this unit, but with the givendeltaUnit
as its delta unit.private static java.lang.String
QuantityConversionException.Quantity. readableProto(ITypedQuantity<LinearUnit> prototype, LinearUnit userUnit)
Produce a string that presents a prototype value.protected ITypedQuantity<LinearUnit>
LinearUnit. subtractSame(long numericalMinuend, LinearUnit subtrahendUnit, long numericalSubtrahend)
ScaleFactor
LinearUnit. valueTransformTo(LinearUnit targetUnit)
Method parameters in org.openjdk.jmc.common.unit with type arguments of type LinearUnit 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)
private static void
UnitLookup. addQuantities(java.util.Collection<ITypedQuantity<LinearUnit>> result, LinearUnit unit, java.lang.Number... numbers)
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)
LinearUnit
BinaryUnitSelector. getLargestExactUnit(ITypedQuantity<LinearUnit> quantity)
LinearUnit
CustomUnitSelector. getLargestExactUnit(ITypedQuantity<LinearUnit> quantity)
LinearUnit
DecimalUnitSelector. getLargestExactUnit(ITypedQuantity<LinearUnit> quantity)
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)
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)
ITypedQuantity<LinearUnit>
LinearKindOfQuantity. parseInteractive(java.lang.String interactiveQuantity, java.util.Map<java.lang.String,? extends LinearUnit> symbolToUnitMap)
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)
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)
Constructors in org.openjdk.jmc.common.unit with parameters of type LinearUnit Constructor Description Custom(LinearKindOfQuantity kindOfQuantity, java.lang.String unitId, ScaleFactor factorToDefinition, LinearUnit definitionUnit, java.lang.String unitSymbol, java.lang.String unitDesc, java.lang.String... altNames)
DecimalUnitSelector(LinearKindOfQuantity kindOfQuantity, LinearUnit exponentialBaseUnit)
DualUnitFormatter(LinearKindOfQuantity kindOfQuantity, java.lang.String id, java.lang.String name, LinearUnit cutoffUnit)
DualUnitFormatter(LinearKindOfQuantity kindOfQuantity, java.lang.String id, java.lang.String name, TypedUnit.UnitSelector<LinearUnit> unitSelector, LinearUnit cutoffUnit)
TimestampUnit(LinearUnit timeOffsetUnit)
Constructor parameters in org.openjdk.jmc.common.unit with type arguments of type LinearUnit Constructor Description CustomUnitSelector(LinearKindOfQuantity kindOfQuantity, LinearKindOfQuantity.LinearUnitSelector smallSelector, java.util.Collection<LinearUnit> units, LinearKindOfQuantity.LinearUnitSelector bigSelector, java.util.SortedSet<ITypedQuantity<LinearUnit>> ticks)
CustomUnitSelector(LinearKindOfQuantity kindOfQuantity, LinearKindOfQuantity.LinearUnitSelector smallSelector, java.util.Collection<LinearUnit> units, LinearKindOfQuantity.LinearUnitSelector bigSelector, java.util.SortedSet<ITypedQuantity<LinearUnit>> ticks)
DualUnitFormatter(LinearKindOfQuantity kindOfQuantity, java.lang.String id, java.lang.String name, TypedUnit.UnitSelector<LinearUnit> unitSelector)
DualUnitFormatter(LinearKindOfQuantity kindOfQuantity, java.lang.String id, java.lang.String name, TypedUnit.UnitSelector<LinearUnit> unitSelector, LinearUnit cutoffUnit)
-
Uses of LinearUnit in org.openjdk.jmc.flightrecorder.internal.parser.v0
Fields in org.openjdk.jmc.flightrecorder.internal.parser.v0 declared as LinearUnit Modifier and Type Field Description private LinearUnit
ChunkMetadata. ticksUnit
Methods in org.openjdk.jmc.flightrecorder.internal.parser.v0 that return LinearUnit Modifier and Type Method Description (package private) LinearUnit
ChunkMetadata. getTicksUnit()
-
Uses of LinearUnit in org.openjdk.jmc.flightrecorder.internal.parser.v1
Fields in org.openjdk.jmc.flightrecorder.internal.parser.v1 declared as LinearUnit Modifier and Type Field Description private LinearUnit
ChunkStructure. ticksUnit
Methods in org.openjdk.jmc.flightrecorder.internal.parser.v1 that return LinearUnit Modifier and Type Method Description (package private) LinearUnit
ChunkStructure. getTicksTimespanUnit()
-
Uses of LinearUnit in org.openjdk.jmc.flightrecorder.rules.util
Fields in org.openjdk.jmc.flightrecorder.rules.util declared as LinearUnit Modifier and Type Field Description private static LinearUnit
RulesToolkit. MEBIBYTES
-