| Package | Description |
|---|---|
| com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for working with collections.
|
| Modifier and Type | Method and Description |
|---|---|
Multiset |
ForwardingSortedMultiset.firstEntry()
|
Multiset |
SortedMultiset.firstEntry()
Returns the entry of the first element in this multiset, or
null if this multiset is empty.
|
static <E> Multiset |
Multisets.immutableEntry(E e, int n)
Returns an immutable multiset entry with the specified element and count.
|
Multiset |
ForwardingSortedMultiset.lastEntry()
|
Multiset |
SortedMultiset.lastEntry()
Returns the entry of the last element in this multiset, or
null if this multiset is empty.
|
Multiset |
ForwardingSortedMultiset.pollFirstEntry()
|
Multiset |
ImmutableSortedMultiset.pollFirstEntry()
Deprecated.
Unsupported operation.
|
Multiset |
SortedMultiset.pollFirstEntry()
Returns and removes the entry associated with the lowest element in this multiset, or returns
null if this multiset is empty.
|
Multiset |
ForwardingSortedMultiset.pollLastEntry()
|
Multiset |
ImmutableSortedMultiset.pollLastEntry()
Deprecated.
Unsupported operation.
|
Multiset |
SortedMultiset.pollLastEntry()
Returns and removes the entry associated with the greatest element in this multiset, or returns
null if this multiset is empty.
|
protected Multiset |
ForwardingSortedMultiset.standardFirstEntry()
A sensible definition of
ForwardingSortedMultiset in terms of
entrySet().iterator().
|
protected Multiset |
ForwardingSortedMultiset.standardLastEntry()
A sensible definition of
ForwardingSortedMultiset in terms of
descendingMultiset().entrySet().iterator().
|
protected Multiset |
ForwardingSortedMultiset.standardPollFirstEntry()
A sensible definition of
ForwardingSortedMultiset in terms of
entrySet().iterator().
|
protected Multiset |
ForwardingSortedMultiset.standardPollLastEntry()
A sensible definition of
ForwardingSortedMultiset in terms of
descendingMultiset().entrySet().iterator().
|
| Modifier and Type | Method and Description |
|---|---|
Set |
ConcurrentHashMultiset.createEntrySet()
|
ImmutableSet |
ImmutableMultiset.entrySet()
|
Set |
ForwardingMultiset.entrySet()
|
Set |
Multiset.entrySet()
Returns a view of the contents of this multiset, grouped into
Multiset.Entry instances, each providing an element of the multiset and the count of that element.
|
Set |
SortedMultiset.entrySet()
Returns a view of the contents of this multiset, grouped into
Multiset.Entry instances, each providing an element of the multiset and the count of that element.
|