Uses of Interface
org.openjdk.jmc.common.unit.IRange
Packages that use IRange
Package
Description
This package contains the
IItem data model.This package contains the data model for quantities and units.
-
Uses of IRange in org.openjdk.jmc.common.item
Methods in org.openjdk.jmc.common.item that return types with arguments of type IRangeModifier and TypeMethodDescriptionIItemCollection.getUnfilteredTimeRanges()Deprecated.see https://bugs.openjdk.java.net/browse/JMC-7103.Methods in org.openjdk.jmc.common.item with parameters of type IRangeModifier and TypeMethodDescriptionstatic <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 IRangeModifier and TypeMethodDescriptionstatic IItemCollectionItemCollectionToolkit.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 IRangeModifier and TypeClassDescriptionclassQuantityRange<U extends TypedUnit<U>>A finite range of quantities.Fields in org.openjdk.jmc.common.unit with type parameters of type IRangeModifier and TypeFieldDescriptionstatic final ContentType<IRange<IQuantity>>UnitLookup.TIMERANGEMethods in org.openjdk.jmc.common.unit that return IRangeModifier and TypeMethodDescriptionQuantityRange.createPoint(IQuantity start) QuantityRange.createWithEnd(IQuantity start, IQuantity end) QuantityRange.createWithExtent(IQuantity start, ITypedQuantity<LinearUnit> extent) KindOfQuantity.getFirstBucket(IQuantity start, IQuantity end, double maxBuckets) Divide the given range into at mostmaxBuckets"naturally" aligned buckets, and return the first one.KindOfQuantity.getFirstBucket(ITypedQuantity<U> start, ITypedQuantity<U> end, double maxBuckets) QuantityRange.intersection(IRange<IQuantity> a, IRange<IQuantity> b) RangeContentType.rangeWithEnd(T start, T end) Methods in org.openjdk.jmc.common.unit that return types with arguments of type IRangeModifier and TypeMethodDescriptionKindOfQuantity.getRangeFormatter(String formatHint) Temporary helper to format quantity ranges.Methods in org.openjdk.jmc.common.unit with parameters of type IRangeModifier and TypeMethodDescriptionabstract 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.LinearKindOfQuantity.getFormatterResolving(IRange<IQuantity> range) QuantityRange.intersection(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 IRangeModifier and TypeMethodDescriptionstatic <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 IRangeModifier and TypeMethodDescriptionstatic <T,M extends Comparable<? super M>>
Predicate<T>PredicateToolkit.centerContained(IMemberAccessor<? extends IRange<M>, T> rangeAccessor, IRange<M> limit) Return a predicate based onlimitaccording 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 onlimitaccording 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 onlimitaccording toRangeMatchPolicy.CLOSED_INTERSECTS_WITH_CLOSED.Method parameters in org.openjdk.jmc.common.util with type arguments of type IRangeModifier and TypeMethodDescriptionstatic <T,M extends Comparable<? super M>>
Predicate<T>PredicateToolkit.centerContained(IMemberAccessor<? extends IRange<M>, T> rangeAccessor, IRange<M> limit) Return a predicate based onlimitaccording 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 onlimitaccording 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 onlimitaccording toRangeMatchPolicy.CLOSED_INTERSECTS_WITH_CLOSED.