|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SortedMultiset | |
---|---|
com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
Uses of SortedMultiset in com.google.common.collect |
---|
Classes in com.google.common.collect that implement SortedMultiset | |
---|---|
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 . |
Methods in com.google.common.collect that return SortedMultiset | ||
---|---|---|
SortedMultiset<E> |
SortedMultiset.descendingMultiset()
Returns a descending view of this multiset. |
|
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> |
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> |
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)
|
|
static
|
Multisets.unmodifiableSortedMultiset(SortedMultiset<E> sortedMultiset)
Returns an unmodifiable view of the specified sorted multiset. |
Methods in com.google.common.collect with parameters of type SortedMultiset | ||
---|---|---|
static
|
ImmutableSortedMultiset.copyOfSorted(SortedMultiset<E> sortedMultiset)
Returns an immutable sorted multiset containing the elements of a sorted multiset, sorted by the same Comparator . |
|
static
|
Multisets.unmodifiableSortedMultiset(SortedMultiset<E> sortedMultiset)
Returns an unmodifiable view of the specified sorted multiset. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |