Uses of Interface
com.google.common.collect.SortedMultiset
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of SortedMultiset in com.google.common.collect
Modifier and TypeClassDescriptionclass
ForwardingSortedMultiset<E extends @Nullable Object>
A sorted multiset which forwards all its method calls to another sorted multiset.protected class
A skeleton implementation of a descending multiset view.class
ASortedMultiset
whose contents will never change, with many other important properties detailed atImmutableCollection
.final class
TreeMultiset<E extends @Nullable Object>
A multiset which maintains the ordering of its elements, according to either their natural order or an explicitComparator
.Modifier and TypeMethodDescriptionprotected abstract SortedMultiset
<E> ForwardingSortedMultiset.delegate()
ForwardingSortedMultiset.descendingMultiset()
SortedMultiset.descendingMultiset()
Returns a descending view of this multiset.ForwardingSortedMultiset.headMultiset
(E upperBound, BoundType boundType) SortedMultiset.headMultiset
(E upperBound, BoundType boundType) Returns a view of this multiset restricted to the elements less thanupperBound
, optionally includingupperBound
itself.TreeMultiset.headMultiset
(E upperBound, BoundType boundType) protected SortedMultiset
<E> ForwardingSortedMultiset.standardSubMultiset
(E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) A sensible definition ofForwardingSortedMultiset.subMultiset(Object, BoundType, Object, BoundType)
in terms ofheadMultiset
andtailMultiset
.ForwardingSortedMultiset.subMultiset
(E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) SortedMultiset.subMultiset
(E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) Returns a view of this multiset restricted to the range betweenlowerBound
andupperBound
.ForwardingSortedMultiset.tailMultiset
(E lowerBound, BoundType boundType) SortedMultiset.tailMultiset
(E lowerBound, BoundType boundType) Returns a view of this multiset restricted to the elements greater thanlowerBound
, optionally includinglowerBound
itself.TreeMultiset.tailMultiset
(E lowerBound, BoundType boundType) static <E extends @Nullable Object>
SortedMultiset<E> Multisets.unmodifiableSortedMultiset
(SortedMultiset<E> sortedMultiset) Returns an unmodifiable view of the specified sorted multiset.Modifier and TypeMethodDescriptionstatic <E> ImmutableSortedMultiset
<E> ImmutableSortedMultiset.copyOfSorted
(SortedMultiset<E> sortedMultiset) Returns an immutable sorted multiset containing the elements of a sorted multiset, sorted by the sameComparator
.static <E extends @Nullable Object>
SortedMultiset<E> Multisets.unmodifiableSortedMultiset
(SortedMultiset<E> sortedMultiset) Returns an unmodifiable view of the specified sorted multiset.