Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
Modifier and Type | Field and Description |
---|---|
private GeneralRange<E> |
TreeMultiset.range |
private GeneralRange<T> |
GeneralRange.reverse |
Modifier and Type | Method and Description |
---|---|
(package private) static <T> GeneralRange<T> |
GeneralRange.all(java.util.Comparator<? super T> comparator)
Returns the whole range relative to the specified comparator.
|
(package private) static <T> GeneralRange<T> |
GeneralRange.downTo(java.util.Comparator<? super T> comparator,
T endpoint,
BoundType boundType)
Returns everything above the endpoint relative to the specified comparator, with the specified
endpoint behavior.
|
(package private) static <T extends java.lang.Comparable> |
GeneralRange.from(Range<T> range)
Converts a Range to a GeneralRange.
|
(package private) GeneralRange<T> |
GeneralRange.intersect(GeneralRange<T> other)
Returns the intersection of the two ranges, or an empty range if their intersection is empty.
|
(package private) static <T> GeneralRange<T> |
GeneralRange.range(java.util.Comparator<? super T> comparator,
T lower,
BoundType lowerType,
T upper,
BoundType upperType)
Returns everything between the endpoints relative to the specified comparator, with the
specified endpoint behavior.
|
(package private) GeneralRange<T> |
GeneralRange.reverse()
Returns the same range relative to the reversed comparator.
|
(package private) static <T> GeneralRange<T> |
GeneralRange.upTo(java.util.Comparator<? super T> comparator,
T endpoint,
BoundType boundType)
Returns everything below the endpoint relative to the specified comparator, with the specified
endpoint behavior.
|
Modifier and Type | Method and Description |
---|---|
(package private) GeneralRange<T> |
GeneralRange.intersect(GeneralRange<T> other)
Returns the intersection of the two ranges, or an empty range if their intersection is empty.
|
Constructor and Description |
---|
TreeMultiset(TreeMultiset.Reference<TreeMultiset.AvlNode<E>> rootReference,
GeneralRange<E> range,
TreeMultiset.AvlNode<E> endLink) |