Uses of Interface
com.google.common.collect.Multiset.Entry
-
Packages that use Multiset.Entry Package Description com.google.common.collect This package contains generic collection interfaces and implementations, and other utilities for working with collections. -
-
Uses of Multiset.Entry in com.google.common.collect
Methods in com.google.common.collect that return Multiset.Entry Modifier and Type Method Description Multiset.Entry<E>
ForwardingSortedMultiset. firstEntry()
Multiset.Entry<E>
SortedMultiset. firstEntry()
Returns the entry of the first element in this multiset, ornull
if this multiset is empty.static <E extends @Nullable Object>
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, ornull
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 returnsnull
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 returnsnull
if this multiset is empty.protected Multiset.Entry<E>
ForwardingSortedMultiset. standardFirstEntry()
A sensible definition ofForwardingSortedMultiset.firstEntry()
in terms ofentrySet().iterator()
.protected Multiset.Entry<E>
ForwardingSortedMultiset. standardLastEntry()
A sensible definition ofForwardingSortedMultiset.lastEntry()
in terms ofdescendingMultiset().entrySet().iterator()
.protected Multiset.Entry<E>
ForwardingSortedMultiset. standardPollFirstEntry()
A sensible definition ofForwardingSortedMultiset.pollFirstEntry()
in terms ofentrySet().iterator()
.protected Multiset.Entry<E>
ForwardingSortedMultiset. standardPollLastEntry()
A sensible definition ofForwardingSortedMultiset.pollLastEntry()
in terms ofdescendingMultiset().entrySet().iterator()
.Methods in com.google.common.collect that return types with arguments of type Multiset.Entry Modifier and Type Method Description Set<Multiset.Entry<E>>
ConcurrentHashMultiset. createEntrySet()
Deprecated.Internal method, useMultiset.entrySet()
.Set<Multiset.Entry<E>>
ForwardingMultiset. entrySet()
ImmutableSet<Multiset.Entry<E>>
ImmutableMultiset. entrySet()
Set<Multiset.Entry<E>>
Multiset. entrySet()
Returns a view of the contents of this multiset, grouped intoMultiset.Entry
instances, each providing an element of the multiset and the count of that element.Set<Multiset.Entry<E>>
SortedMultiset. entrySet()
Returns a view of the contents of this multiset, grouped intoMultiset.Entry
instances, each providing an element of the multiset and the count of that element.
-