| Package | Description |
|---|---|
| com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for working with collections.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ForwardingSortedMultiset<E>
A sorted multiset which forwards all its method calls to another sorted multiset.
|
protected class |
ForwardingSortedMultiset
A skeleton implementation of a descending multiset view.
|
class |
ImmutableSortedMultiset<E>
An immutable
SortedMultiset that stores its elements in a sorted array.
|
class |
TreeMultiset<E>
A multiset which maintains the ordering of its elements, according to either their natural order or an explicit
Comparator.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract SortedMultiset |
ForwardingSortedMultiset.delegate()
|
SortedMultiset |
ForwardingSortedMultiset.descendingMultiset()
|
SortedMultiset |
SortedMultiset.descendingMultiset()
Returns a descending view of this multiset.
|
SortedMultiset |
ForwardingSortedMultiset.headMultiset(E upperBound, BoundType
|
SortedMultiset |
TreeMultiset.headMultiset(E upperBound, BoundType
|
SortedMultiset |
SortedMultiset.headMultiset(E upperBound, BoundType
Returns a view of this multiset restricted to the elements less than
upperBound, optionally including
upperBound itself.
|
protected SortedMultiset |
ForwardingSortedMultiset.standardSubMultiset(E lowerBound, BoundType
A sensible definition of
ForwardingSortedMultiset in terms of
headMultiset and
tailMultiset.
|
SortedMultiset |
ForwardingSortedMultiset.subMultiset(E lowerBound, BoundType
|
SortedMultiset |
SortedMultiset.subMultiset(E lowerBound, BoundType
Returns a view of this multiset restricted to the range between
lowerBound and
upperBound.
|
SortedMultiset |
ForwardingSortedMultiset.tailMultiset(E lowerBound, BoundType
|
SortedMultiset |
TreeMultiset.tailMultiset(E lowerBound, BoundType
|
SortedMultiset |
SortedMultiset.tailMultiset(E lowerBound, BoundType
Returns a view of this multiset restricted to the elements greater than
lowerBound, optionally including
lowerBound itself.
|
static <E> SortedMultiset |
Multisets.unmodifiableSortedMultiset(SortedMultiset
Returns an unmodifiable view of the specified sorted multiset.
|
| Modifier and Type | Method and Description |
|---|---|
static <E> ImmutableSortedMultiset |
ImmutableSortedMultiset.copyOfSorted(SortedMultiset
Returns an immutable sorted multiset containing the elements of a sorted multiset, sorted by the same
Comparator.
|
static <E> SortedMultiset |
Multisets.unmodifiableSortedMultiset(SortedMultiset
Returns an unmodifiable view of the specified sorted multiset.
|