Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
Modifier and Type | Class and Description |
---|---|
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>
A
SortedMultiset whose contents will never change, with many other important properties
detailed at ImmutableCollection . |
class |
TreeMultiset<E>
A multiset which maintains the ordering of its elements, according to either their natural order
or an explicit
Comparator . |
Modifier and Type | Method and 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 than
upperBound , optionally including upperBound itself. |
SortedMultiset<E> |
TreeMultiset.headMultiset(E upperBound,
BoundType boundType) |
protected SortedMultiset<E> |
ForwardingSortedMultiset.standardSubMultiset(E lowerBound,
BoundType lowerBoundType,
E upperBound,
BoundType upperBoundType)
A sensible definition of
ForwardingSortedMultiset.subMultiset(Object, BoundType, Object, BoundType) in terms
of headMultiset and
tailMultiset . |
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 between
lowerBound and upperBound . |
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 than
lowerBound , optionally including lowerBound itself. |
SortedMultiset<E> |
TreeMultiset.tailMultiset(E lowerBound,
BoundType boundType) |
static <E> SortedMultiset<E> |
Multisets.unmodifiableSortedMultiset(SortedMultiset<E> sortedMultiset)
Returns an unmodifiable view of the specified sorted multiset.
|
Modifier and Type | Method and 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 same
Comparator . |
static <E> SortedMultiset<E> |
Multisets.unmodifiableSortedMultiset(SortedMultiset<E> sortedMultiset)
Returns an unmodifiable view of the specified sorted multiset.
|
Copyright © 2010–2017. All rights reserved.