Uses of Interface
com.google.common.collect.SortedMultiset
-
Packages that use SortedMultiset Package Description com.google.common.collect This package contains generic collection interfaces and implementations, and other utilities for working with collections.com.google.common.collect.testing.google com.google.common.testing This package contains testing utilities. -
-
Uses of SortedMultiset in com.google.common.collect
Classes in com.google.common.collect that implement SortedMultiset Modifier and Type Class Description (package private) class
AbstractSortedMultiset<E>
This class provides a skeletal implementation of theSortedMultiset
interface.(package private) class
DescendingImmutableSortedMultiset<E>
A descending wrapper around anImmutableSortedMultiset
(package private) class
DescendingMultiset<E>
A skeleton implementation of a descending 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>
ASortedMultiset
whose contents will never change, with many other important properties detailed atImmutableCollection
.(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 explicitComparator
.(package private) class
UnmodifiableSortedMultiset<E>
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 SortedMultiset Modifier and Type Field Description private SortedMultiset<E>
AbstractSortedMultiset. descendingMultiset
private SortedMultiset<E>
SortedMultisets.ElementSet. multiset
Methods in com.google.common.collect that return SortedMultiset Modifier and Type Method 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 thanupperBound
, optionally includingupperBound
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 ofForwardingSortedMultiset.subMultiset(Object, BoundType, Object, BoundType)
in terms ofheadMultiset
andtailMultiset
.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 betweenlowerBound
andupperBound
.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 thanlowerBound
, optionally includinglowerBound
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.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> 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 SortedMultiset Constructor Description ElementSet(SortedMultiset<E> multiset)
NavigableElementSet(SortedMultiset<E> multiset)
SerializedForm(SortedMultiset<E> multiset)
UnmodifiableSortedMultiset(SortedMultiset<E> delegate)
-
Uses of SortedMultiset in com.google.common.collect.testing.google
Fields in com.google.common.collect.testing.google declared as SortedMultiset Modifier and Type Field Description private SortedMultiset<E>
MultisetNavigationTester. sortedMultiset
Methods in com.google.common.collect.testing.google that return SortedMultiset Modifier and Type Method Description (package private) static <T> SortedMultiset<T>
MultisetNavigationTester. cast(Multiset<T> iterable)
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, java.util.List<Multiset.Entry<E>> entries, int targetEntry)
Methods in com.google.common.collect.testing.google with parameters of type SortedMultiset Modifier and Type Method Description (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, java.util.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 SortedMultiset Modifier and Type Method Description (package private) static <E extends java.lang.Comparable<E>>
SortedMultiset<E>FreshValueGenerator. generateSortedMultiset(E freshElement)
-