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> |
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> |
SortedMultiset.lastEntry()
Returns the entry of the last element in this multiset, or
null if
this multiset is empty. |
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> |
ImmutableSortedMultiset.pollFirstEntry()
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. |
Multiset.Entry<E> |
ImmutableSortedMultiset.pollLastEntry()
Deprecated.
Unsupported operation.
|
Modifier and Type | Method and Description |
---|---|
ImmutableSet<Multiset.Entry<E>> |
ImmutableMultiset.entrySet() |
Set<Multiset.Entry<E>> |
ForwardingMultiset.entrySet() |
Set<Multiset.Entry<E>> |
ConcurrentHashMultiset.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. |
Copyright © 2010-2013. All Rights Reserved.