Uses of Interface
com.google.common.collect.Multiset.Entry
Packages that use Multiset.Entry
Package
Description
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.EntryModifier and TypeMethodDescription@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()
final @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()
final @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.EntryModifier and TypeMethodDescriptionConcurrentHashMultiset.createEntrySet()
Deprecated.Internal method, useMultiset.entrySet()
.ForwardingMultiset.entrySet()
ImmutableMultiset.entrySet()
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.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.