Uses of Interface
org.openjdk.jmc.common.unit.IRange
-
Packages that use IRange Package Description org.openjdk.jmc.common.item This package contains theIItem
data model.org.openjdk.jmc.common.unit This package contains the data model for quantities and units.org.openjdk.jmc.common.util -
-
Uses of IRange in org.openjdk.jmc.common.item
Methods in org.openjdk.jmc.common.item that return types with arguments of type IRange Modifier and Type Method Description Set<IRange<IQuantity>>
IItemCollection. getUnfilteredTimeRanges()
Deprecated.see https://bugs.openjdk.java.net/browse/JMC-7103.Methods in org.openjdk.jmc.common.item with parameters of type IRange Modifier and Type Method Description static <M extends Comparable<? super M>>
IItemFilterItemFilters. centerContainedIn(ICanonicalAccessorFactory<IRange<M>> rangeAttribute, IRange<M> rangeLimit)
Match a range according toRangeMatchPolicy.CENTER_CONTAINED_IN_RIGHT_OPEN
.static <M extends Comparable<? super M>>
IItemFilterItemFilters. matchRange(PersistableItemFilter.Kind kind, ICanonicalAccessorFactory<IRange<M>> rangeAttribute, IRange<M> rangeLimit)
static <M extends Comparable<? super M>>
IItemFilterItemFilters. matchRange(RangeMatchPolicy policy, ICanonicalAccessorFactory<IRange<M>> rangeAttribute, IRange<M> rangeLimit)
static <M extends Comparable<? super M>>
IItemFilterItemFilters. rangeContainedIn(ICanonicalAccessorFactory<IRange<M>> rangeAttribute, IRange<M> rangeLimit)
Match a range according toRangeMatchPolicy.CONTAINED_IN_CLOSED
.static <M extends Comparable<? super M>>
IItemFilterItemFilters. rangeIntersects(ICanonicalAccessorFactory<IRange<M>> rangeAttribute, IRange<M> rangeLimit)
Match a range according toRangeMatchPolicy.CLOSED_INTERSECTS_WITH_CLOSED
.Method parameters in org.openjdk.jmc.common.item with type arguments of type IRange Modifier and Type Method Description static IItemCollection
ItemCollectionToolkit. build(Supplier<Stream<IItemIterable>> items, Set<IRange<IQuantity>> chunkRanges)
static <M extends Comparable<? super M>>
IItemFilterItemFilters. centerContainedIn(ICanonicalAccessorFactory<IRange<M>> rangeAttribute, IRange<M> rangeLimit)
Match a range according toRangeMatchPolicy.CENTER_CONTAINED_IN_RIGHT_OPEN
.static <M extends Comparable<? super M>>
IItemFilterItemFilters. matchRange(PersistableItemFilter.Kind kind, ICanonicalAccessorFactory<IRange<M>> rangeAttribute, IRange<M> rangeLimit)
static <M extends Comparable<? super M>>
IItemFilterItemFilters. matchRange(RangeMatchPolicy policy, ICanonicalAccessorFactory<IRange<M>> rangeAttribute, IRange<M> rangeLimit)
static <M extends Comparable<? super M>>
IItemFilterItemFilters. rangeContainedIn(ICanonicalAccessorFactory<IRange<M>> rangeAttribute, IRange<M> rangeLimit)
Match a range according toRangeMatchPolicy.CONTAINED_IN_CLOSED
.static <M extends Comparable<? super M>>
IItemFilterItemFilters. rangeIntersects(ICanonicalAccessorFactory<IRange<M>> rangeAttribute, IRange<M> rangeLimit)
Match a range according toRangeMatchPolicy.CLOSED_INTERSECTS_WITH_CLOSED
. -
Uses of IRange in org.openjdk.jmc.common.unit
Classes in org.openjdk.jmc.common.unit that implement IRange Modifier and Type Class Description class
QuantityRange<U extends TypedUnit<U>>
A finite range of quantities.Fields in org.openjdk.jmc.common.unit with type parameters of type IRange Modifier and Type Field Description static ContentType<IRange<IQuantity>>
UnitLookup. TIMERANGE
Methods in org.openjdk.jmc.common.unit that return IRange Modifier and Type Method Description static <U extends TypedUnit<U>>
IRange<IQuantity>QuantityRange. createPoint(IQuantity start)
static <U extends TypedUnit<U>>
IRange<IQuantity>QuantityRange. createWithEnd(IQuantity start, IQuantity end)
static <U extends TypedUnit<U>>
IRange<IQuantity>QuantityRange. createWithExtent(IQuantity start, ITypedQuantity<LinearUnit> extent)
IRange<IQuantity>
KindOfQuantity. getFirstBucket(IQuantity start, IQuantity end, double maxBuckets)
Divide the given range into at mostmaxBuckets
"naturally" aligned buckets, and return the first one.protected IRange<IQuantity>
KindOfQuantity. getFirstBucket(ITypedQuantity<U> start, ITypedQuantity<U> end, double maxBuckets)
static IRange<IQuantity>
QuantityRange. intersection(IRange<IQuantity> a, IRange<IQuantity> b)
abstract IRange<T>
RangeContentType. rangeWithEnd(T start, T end)
static IRange<IQuantity>
QuantityRange. union(IRange<IQuantity> a, IRange<IQuantity> b)
Methods in org.openjdk.jmc.common.unit that return types with arguments of type IRange Modifier and Type Method Description IFormatter<IRange<IQuantity>>
KindOfQuantity. getRangeFormatter(String formatHint)
Temporary helper to format quantity ranges.Methods in org.openjdk.jmc.common.unit with parameters of type IRange Modifier and Type Method Description abstract IFormatter<IQuantity>
KindOfQuantity. getFormatterResolving(IRange<IQuantity> range)
Get a formatter with sufficient resolution to produce unique strings for both ends ofrange
, and consecutive equally spaced quantities.IFormatter<IQuantity>
LinearKindOfQuantity. getFormatterResolving(IRange<IQuantity> range)
static IRange<IQuantity>
QuantityRange. intersection(IRange<IQuantity> a, IRange<IQuantity> b)
static IRange<IQuantity>
QuantityRange. union(IRange<IQuantity> a, IRange<IQuantity> b)
-
Uses of IRange in org.openjdk.jmc.common.util
Methods in org.openjdk.jmc.common.util that return types with arguments of type IRange Modifier and Type Method Description static <T> IMemberAccessor<IRange<IQuantity>,T>
MemberAccessorToolkit. pointRange(IMemberAccessor<IQuantity,T> point)
Create an accessor that constructs point ranges (ranges with zero extent) based on point values.static <T> IMemberAccessor<IRange<IQuantity>,T>
MemberAccessorToolkit. rangeWithEnd(IMemberAccessor<IQuantity,T> start, IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on start and end values.static <T> IMemberAccessor<IRange<IQuantity>,T>
MemberAccessorToolkit. rangeWithExtent(IMemberAccessor<IQuantity,T> start, IMemberAccessor<IQuantity,T> extent)
Create an accessor that constructs ranges based on start and extent values.static <T> IMemberAccessor<IRange<IQuantity>,T>
MemberAccessorToolkit. rangeWithExtentEnd(IMemberAccessor<IQuantity,T> extent, IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on end and extent values.Methods in org.openjdk.jmc.common.util with parameters of type IRange Modifier and Type Method Description static <T,M extends Comparable<? super M>>
Predicate<T>PredicateToolkit. centerContained(IMemberAccessor<? extends IRange<M>,T> rangeAccessor, IRange<M> limit)
Return a predicate based onlimit
according toRangeMatchPolicy.CENTER_CONTAINED_IN_RIGHT_OPEN
.static <T,M extends Comparable<? super M>>
Predicate<T>PredicateToolkit. rangeContained(IMemberAccessor<? extends IRange<M>,T> rangeAccessor, IRange<M> limit)
Return a predicate based onlimit
according toRangeMatchPolicy.CONTAINED_IN_CLOSED
.static <T,M extends Comparable<? super M>>
Predicate<T>PredicateToolkit. rangeIntersects(IMemberAccessor<? extends IRange<M>,T> rangeAccessor, IRange<M> limit)
Return a predicate based onlimit
according toRangeMatchPolicy.CLOSED_INTERSECTS_WITH_CLOSED
.Method parameters in org.openjdk.jmc.common.util with type arguments of type IRange Modifier and Type Method Description static <T,M extends Comparable<? super M>>
Predicate<T>PredicateToolkit. centerContained(IMemberAccessor<? extends IRange<M>,T> rangeAccessor, IRange<M> limit)
Return a predicate based onlimit
according toRangeMatchPolicy.CENTER_CONTAINED_IN_RIGHT_OPEN
.static <T,M extends Comparable<? super M>>
Predicate<T>PredicateToolkit. rangeContained(IMemberAccessor<? extends IRange<M>,T> rangeAccessor, IRange<M> limit)
Return a predicate based onlimit
according toRangeMatchPolicy.CONTAINED_IN_CLOSED
.static <T,M extends Comparable<? super M>>
Predicate<T>PredicateToolkit. rangeIntersects(IMemberAccessor<? extends IRange<M>,T> rangeAccessor, IRange<M> limit)
Return a predicate based onlimit
according toRangeMatchPolicy.CLOSED_INTERSECTS_WITH_CLOSED
.
-