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.Entry<E> |
ForwardingSortedMultiset.firstEntry() |
Multiset.Entry<E> |
SortedMultiset.firstEntry()
Returns the entry of the first element in this multiset, or
null if this multiset is
empty. |
static <E> Multiset.Entry<E> |
Multisets.immutableEntry(E e,
int n)
Returns an immutable multiset entry with the specified element and count.
|
Multiset.Entry<E> |
ForwardingSortedMultiset.lastEntry() |
Multiset.Entry<E> |
SortedMultiset.lastEntry()
Returns the entry of the last element in this multiset, or
null if this multiset is
empty. |
Multiset.Entry<E> |
ForwardingSortedMultiset.pollFirstEntry() |
Multiset.Entry<E> |
ImmutableSortedMultiset.pollFirstEntry()
Deprecated.
Unsupported operation.
|
Multiset.Entry<E> |
SortedMultiset.pollFirstEntry()
Returns and removes the entry associated with the lowest element in this multiset, or returns
null if this multiset is empty. |
Multiset.Entry<E> |
ForwardingSortedMultiset.pollLastEntry() |
Multiset.Entry<E> |
ImmutableSortedMultiset.pollLastEntry()
Deprecated.
Unsupported operation.
|
Multiset.Entry<E> |
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.Entry<E> |
ForwardingSortedMultiset.standardFirstEntry()
A sensible definition of
ForwardingSortedMultiset.firstEntry() in terms of entrySet().iterator() . |
protected Multiset.Entry<E> |
ForwardingSortedMultiset.standardLastEntry()
A sensible definition of
ForwardingSortedMultiset.lastEntry() in terms of descendingMultiset().entrySet().iterator() . |
protected Multiset.Entry<E> |
ForwardingSortedMultiset.standardPollFirstEntry()
A sensible definition of
ForwardingSortedMultiset.pollFirstEntry() in terms of entrySet().iterator() . |
protected Multiset.Entry<E> |
ForwardingSortedMultiset.standardPollLastEntry()
A sensible definition of
ForwardingSortedMultiset.pollLastEntry() in terms of descendingMultiset().entrySet().iterator() . |
Modifier and Type | Method and Description |
---|---|
Set<Multiset.Entry<E>> |
ConcurrentHashMultiset.createEntrySet()
Deprecated.
Internal method, use
AbstractMultiset.entrySet() . |
Set<Multiset.Entry<E>> |
ForwardingMultiset.entrySet() |
Set<Multiset.Entry<E>> |
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. |
ImmutableSet<Multiset.Entry<E>> |
ImmutableMultiset.entrySet() |
Set<Multiset.Entry<E>> |
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. |
Copyright © 2010–2019. All rights reserved.