Uses of Class
com.landawn.abacus.util.Range
Packages that use Range
-
Uses of Range in com.landawn.abacus.util
Methods in com.landawn.abacus.util that return RangeModifier and TypeMethodDescriptionstatic <T extends Comparable<? super T>>
Range<T>Range.closed
(T min, T max) static <T extends Comparable<? super T>>
Range<T>Range.closedOpen
(T min, T max) static <T extends Comparable<? super T>>
Range<T>Range.just
(T element) Obtains a range using the specified element as both the minimum and maximum in this range.<U extends Comparable<? super U>>
Range<U>static <T extends Comparable<? super T>>
Range<T>Range.open
(T min, T max) static <T extends Comparable<? super T>>
Range<T>Range.openClosed
(T min, T max) Copied from Guava under Apache License v2.0
Returns the minimal range that encloses both this range andother
.Methods in com.landawn.abacus.util that return types with arguments of type RangeModifier and TypeMethodDescriptionu.Optional<Range<T>>
Range.intersection
(Range<T> other) Calculate the intersection ofthis
and an overlapping Range.Methods in com.landawn.abacus.util with parameters of type RangeModifier and TypeMethodDescriptionboolean
Range.containsRange
(Range<T> other) Checks whether this range contains all the elements of the specified range.u.Optional<Range<T>>
Range.intersection
(Range<T> other) Calculate the intersection ofthis
and an overlapping Range.boolean
Range.isAfterRange
(Range<T> other) Checks whether this range is completely after the specified range.boolean
Range.isBeforeRange
(Range<T> other) Checks whether this range is completely before the specified range.boolean
Range.isOverlappedBy
(Range<T> other) Checks whether this range is overlapped by the specified range.Copied from Guava under Apache License v2.0
Returns the minimal range that encloses both this range andother
.static <K extends Comparable<? super K>>
NavigableSet<K>Iterables.subSet
(NavigableSet<K> set, Range<K> range)