Uses of Interface
com.google.common.collect.SortedMultiset
-
Packages that use SortedMultiset Package Description com.google.common.collect Collection interfaces and implementations, and other utilities for collections. -
-
Uses of SortedMultiset in com.google.common.collect
Classes in com.google.common.collect that implement SortedMultiset Modifier and Type Class Description classForwardingSortedMultiset<E extends @Nullable java.lang.Object>A sorted multiset which forwards all its method calls to another sorted multiset.protected classForwardingSortedMultiset.StandardDescendingMultisetA skeleton implementation of a descending multiset view.classImmutableSortedMultiset<E>ASortedMultisetwhose contents will never change, with many other important properties detailed atImmutableCollection.classTreeMultiset<E extends @Nullable java.lang.Object>A multiset which maintains the ordering of its elements, according to either their natural order or an explicitComparator.Methods in com.google.common.collect that return SortedMultiset Modifier and Type Method Description protected abstract SortedMultiset<E>ForwardingSortedMultiset. delegate()SortedMultiset<E>ForwardingSortedMultiset. descendingMultiset()SortedMultiset<E>SortedMultiset. descendingMultiset()Returns a descending view of this multiset.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 thanupperBound, optionally includingupperBounditself.SortedMultiset<E>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 ofheadMultisetandtailMultiset.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 betweenlowerBoundandupperBound.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 thanlowerBound, optionally includinglowerBounditself.SortedMultiset<E>TreeMultiset. tailMultiset(E lowerBound, BoundType boundType)static <E extends @Nullable java.lang.Object>
SortedMultiset<E>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 Modifier and Type Method 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 sameComparator.static <E extends @Nullable java.lang.Object>
SortedMultiset<E>Multisets. unmodifiableSortedMultiset(SortedMultiset<E> sortedMultiset)Returns an unmodifiable view of the specified sorted multiset.
-