Uses of Interface
com.google.common.collect.SortedMultiset
Packages that use SortedMultiset
Package
Description
Collection interfaces and implementations, and other utilities for collections.
Testing utilities.
-
Uses of SortedMultiset in com.google.common.collect
Classes in com.google.common.collect that implement SortedMultisetModifier and TypeClassDescription(package private) class
This class provides a skeletal implementation of theSortedMultiset
interface.(package private) final class
A descending wrapper around anImmutableSortedMultiset
(package private) class
A skeleton implementation of a descending multiset.class
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
.(package private) final class
An immutable sorted multiset with one or more distinct elements.final class
TreeMultiset<E>
A multiset which maintains the ordering of its elements, according to either their natural order or an explicitComparator
.(package private) final class
Implementation ofMultisets.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).Fields in com.google.common.collect declared as SortedMultisetModifier and TypeFieldDescriptionprivate SortedMultiset
<E> AbstractSortedMultiset.descendingMultiset
private final SortedMultiset
<E> SortedMultisets.ElementSet.multiset
Methods in com.google.common.collect that return SortedMultisetModifier and TypeMethodDescription(package private) SortedMultiset
<E> AbstractSortedMultiset.createDescendingMultiset()
protected abstract SortedMultiset
<E> ForwardingSortedMultiset.delegate()
protected SortedMultiset
<E> UnmodifiableSortedMultiset.delegate()
AbstractSortedMultiset.descendingMultiset()
DescendingMultiset.descendingMultiset()
ForwardingSortedMultiset.descendingMultiset()
SortedMultiset.descendingMultiset()
Returns a descending view of this multiset.UnmodifiableSortedMultiset.descendingMultiset()
(package private) abstract SortedMultiset
<E> DescendingMultiset.forwardMultiset()
(package private) SortedMultiset
<E> ForwardingSortedMultiset.StandardDescendingMultiset.forwardMultiset()
DescendingMultiset.headMultiset
(E toElement, BoundType boundType) 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) UnmodifiableSortedMultiset.headMultiset
(E upperBound, BoundType boundType) (package private) final SortedMultiset
<E> SortedMultisets.ElementSet.multiset()
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
.AbstractSortedMultiset.subMultiset
(E fromElement, BoundType fromBoundType, E toElement, BoundType toBoundType) DescendingMultiset.subMultiset
(E fromElement, BoundType fromBoundType, E toElement, BoundType toBoundType) 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
.UnmodifiableSortedMultiset.subMultiset
(E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) DescendingMultiset.tailMultiset
(E fromElement, BoundType boundType) 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) UnmodifiableSortedMultiset.tailMultiset
(E lowerBound, BoundType boundType) static <E> 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 SortedMultisetModifier 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> SortedMultiset
<E> Multisets.unmodifiableSortedMultiset
(SortedMultiset<E> sortedMultiset) Returns an unmodifiable view of the specified sorted multiset.Constructors in com.google.common.collect with parameters of type SortedMultisetModifierConstructorDescription(package private)
ElementSet
(SortedMultiset<E> multiset) (package private)
NavigableElementSet
(SortedMultiset<E> multiset) (package private)
SerializedForm
(SortedMultiset<E> multiset) (package private)
UnmodifiableSortedMultiset
(SortedMultiset<E> delegate) -
Uses of SortedMultiset in com.google.common.collect.testing.google
Fields in com.google.common.collect.testing.google declared as SortedMultisetModifier and TypeFieldDescriptionprivate SortedMultiset
<E> MultisetNavigationTester.sortedMultiset
Methods in com.google.common.collect.testing.google that return SortedMultisetModifier and TypeMethodDescription(package private) static <T> SortedMultiset
<T> Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557(package private) abstract <E> SortedMultiset
<E> MultisetNavigationTester.SubMultisetSpec.subMultiset
(SortedMultiset<E> multiset, List<Multiset.Entry<E>> entries, int targetEntry) Methods in com.google.common.collect.testing.google with parameters of type SortedMultisetModifier and TypeMethodDescription(package private) void
MultisetNavigationTester.expectAddFailure
(SortedMultiset<E> multiset, Multiset.Entry<E> entry) (package private) void
MultisetNavigationTester.expectRemoveZero
(SortedMultiset<E> multiset, Multiset.Entry<E> entry) (package private) void
MultisetNavigationTester.expectSetCountFailure
(SortedMultiset<E> multiset, Multiset.Entry<E> entry) (package private) abstract <E> SortedMultiset
<E> MultisetNavigationTester.SubMultisetSpec.subMultiset
(SortedMultiset<E> multiset, List<Multiset.Entry<E>> entries, int targetEntry) void
MultisetNavigationTester.testEmptyRangeSubMultiset
(SortedMultiset<E> multiset) void
MultisetNavigationTester.testEmptyRangeSubMultisetSupportingAdd
(SortedMultiset<E> multiset) -
Uses of SortedMultiset in com.google.common.testing
Methods in com.google.common.testing that return SortedMultisetModifier and TypeMethodDescription(package private) static <E extends Comparable<E>>
SortedMultiset<E> FreshValueGenerator.generateSortedMultiset
(E freshElement)