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 |
---|---|
(package private) class |
AbstractSortedMultiset<E>
This class provides a skeletal implementation of the
SortedMultiset interface. |
(package private) class |
DescendingImmutableSortedMultiset<E>
A descending wrapper around an
ImmutableSortedMultiset |
(package private) class |
DescendingMultiset<E>
A skeleton implementation of a descending multiset.
|
(package private) class |
EmptyImmutableSortedMultiset<E>
An empty immutable sorted multiset.
|
class |
ForwardingSortedMultiset<E>
A sorted multiset which forwards all its method calls to another sorted multiset.
|
protected class |
ForwardingSortedMultiset.StandardDescendingMultiset
A skeleton implementation of a descending multiset view.
|
class |
ImmutableSortedMultiset<E>
An immutable
SortedMultiset that stores its elements in a sorted array. |
(package private) class |
RegularImmutableSortedMultiset<E>
An immutable sorted multiset with one or more distinct elements.
|
class |
TreeMultiset<E>
A multiset which maintains the ordering of its elements, according to either their natural order
or an explicit
Comparator . |
(package private) class |
UnmodifiableSortedMultiset<E>
Implementation of
Multisets.unmodifiableSortedMultiset(SortedMultiset) ,
split out into its own file so it can be GWT emulated (to deal with the differing
elementSet() types in GWT and non-GWT). |
Modifier and Type | Field and Description |
---|---|
private SortedMultiset<E> |
AbstractSortedMultiset.descendingMultiset |
private SortedMultiset<E> |
SortedMultisets.ElementSet.multiset |
Modifier and Type | Method and Description |
---|---|
(package private) SortedMultiset<E> |
AbstractSortedMultiset.createDescendingMultiset() |
protected abstract SortedMultiset<E> |
ForwardingSortedMultiset.delegate() |
protected SortedMultiset<E> |
UnmodifiableSortedMultiset.delegate() |
SortedMultiset<E> |
AbstractSortedMultiset.descendingMultiset() |
SortedMultiset<E> |
DescendingMultiset.descendingMultiset() |
SortedMultiset<E> |
ForwardingSortedMultiset.descendingMultiset() |
SortedMultiset<E> |
SortedMultiset.descendingMultiset()
Returns a descending view of this multiset.
|
SortedMultiset<E> |
UnmodifiableSortedMultiset.descendingMultiset() |
(package private) abstract SortedMultiset<E> |
DescendingMultiset.forwardMultiset() |
(package private) SortedMultiset<E> |
ForwardingSortedMultiset.StandardDescendingMultiset.forwardMultiset() |
SortedMultiset<E> |
DescendingMultiset.headMultiset(E toElement,
BoundType boundType) |
SortedMultiset<E> |
ForwardingSortedMultiset.headMultiset(E upperBound,
BoundType boundType) |
SortedMultiset<E> |
SortedMultiset.headMultiset(E upperBound,
BoundType boundType)
Returns a view of this multiset restricted to the elements less than
upperBound , optionally including upperBound itself. |
SortedMultiset<E> |
TreeMultiset.headMultiset(E upperBound,
BoundType boundType) |
SortedMultiset<E> |
UnmodifiableSortedMultiset.headMultiset(E upperBound,
BoundType boundType) |
(package private) SortedMultiset<E> |
SortedMultisets.ElementSet.multiset() |
protected SortedMultiset<E> |
ForwardingSortedMultiset.standardSubMultiset(E lowerBound,
BoundType lowerBoundType,
E upperBound,
BoundType upperBoundType)
A sensible definition of
ForwardingSortedMultiset.subMultiset(Object, BoundType, Object, BoundType) in terms
of headMultiset and
tailMultiset . |
SortedMultiset<E> |
AbstractSortedMultiset.subMultiset(E fromElement,
BoundType fromBoundType,
E toElement,
BoundType toBoundType) |
SortedMultiset<E> |
DescendingMultiset.subMultiset(E fromElement,
BoundType fromBoundType,
E toElement,
BoundType toBoundType) |
SortedMultiset<E> |
ForwardingSortedMultiset.subMultiset(E lowerBound,
BoundType lowerBoundType,
E upperBound,
BoundType upperBoundType) |
SortedMultiset<E> |
SortedMultiset.subMultiset(E lowerBound,
BoundType lowerBoundType,
E upperBound,
BoundType upperBoundType)
Returns a view of this multiset restricted to the range between
lowerBound and upperBound . |
SortedMultiset<E> |
UnmodifiableSortedMultiset.subMultiset(E lowerBound,
BoundType lowerBoundType,
E upperBound,
BoundType upperBoundType) |
SortedMultiset<E> |
DescendingMultiset.tailMultiset(E fromElement,
BoundType boundType) |
SortedMultiset<E> |
ForwardingSortedMultiset.tailMultiset(E lowerBound,
BoundType boundType) |
SortedMultiset<E> |
SortedMultiset.tailMultiset(E lowerBound,
BoundType boundType)
Returns a view of this multiset restricted to the elements greater than
lowerBound , optionally including lowerBound itself. |
SortedMultiset<E> |
TreeMultiset.tailMultiset(E lowerBound,
BoundType boundType) |
SortedMultiset<E> |
UnmodifiableSortedMultiset.tailMultiset(E lowerBound,
BoundType boundType) |
static <E> SortedMultiset<E> |
Multisets.unmodifiableSortedMultiset(SortedMultiset<E> sortedMultiset)
Returns an unmodifiable view of the specified sorted multiset.
|
Modifier and Type | Method and Description |
---|---|
static <E> ImmutableSortedMultiset<E> |
ImmutableSortedMultiset.copyOfSorted(SortedMultiset<E> sortedMultiset)
Returns an immutable sorted multiset containing the elements of a sorted multiset, sorted by
the same
Comparator . |
static <E> SortedMultiset<E> |
Multisets.unmodifiableSortedMultiset(SortedMultiset<E> sortedMultiset)
Returns an unmodifiable view of the specified sorted multiset.
|
Constructor and Description |
---|
ElementSet(SortedMultiset<E> multiset) |
NavigableElementSet(SortedMultiset<E> multiset) |
SerializedForm(SortedMultiset<E> multiset) |
UnmodifiableSortedMultiset(SortedMultiset<E> delegate) |