Uses of Interface
com.google.common.collect.Multiset.Entry
-
Packages that use Multiset.Entry Package Description com.google.common.collect Collection interfaces and implementations, and other utilities for 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 @Nullable Multiset.Entry<E>
ForwardingSortedMultiset. firstEntry()
@Nullable 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.@Nullable Multiset.Entry<E>
ForwardingSortedMultiset. lastEntry()
@Nullable Multiset.Entry<E>
SortedMultiset. lastEntry()
Returns the entry of the last element in this multiset, ornull
if this multiset is empty.@Nullable Multiset.Entry<E>
ForwardingSortedMultiset. pollFirstEntry()
@Nullable Multiset.Entry<E>
ImmutableSortedMultiset. pollFirstEntry()
Deprecated.Unsupported operation.@Nullable 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.@Nullable Multiset.Entry<E>
ForwardingSortedMultiset. pollLastEntry()
@Nullable Multiset.Entry<E>
ImmutableSortedMultiset. pollLastEntry()
Deprecated.Unsupported operation.@Nullable 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 @Nullable Multiset.Entry<E>
ForwardingSortedMultiset. standardFirstEntry()
A sensible definition ofForwardingSortedMultiset.firstEntry()
in terms ofentrySet().iterator()
.protected @Nullable Multiset.Entry<E>
ForwardingSortedMultiset. standardLastEntry()
A sensible definition ofForwardingSortedMultiset.lastEntry()
in terms ofdescendingMultiset().entrySet().iterator()
.protected @Nullable Multiset.Entry<E>
ForwardingSortedMultiset. standardPollFirstEntry()
A sensible definition ofForwardingSortedMultiset.pollFirstEntry()
in terms ofentrySet().iterator()
.protected @Nullable 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.
-