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 TypeMethodDescriptionForwardingSortedMultiset.firstEntry()SortedMultiset.firstEntry()Returns the entry of the first element in this multiset, ornullif 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.ForwardingSortedMultiset.lastEntry()SortedMultiset.lastEntry()Returns the entry of the last element in this multiset, ornullif this multiset is empty.ForwardingSortedMultiset.pollFirstEntry()final @Nullable Multiset.Entry<E> ImmutableSortedMultiset.pollFirstEntry()Deprecated.Unsupported operation.SortedMultiset.pollFirstEntry()Returns and removes the entry associated with the lowest element in this multiset, or returnsnullif this multiset is empty.ForwardingSortedMultiset.pollLastEntry()final @Nullable Multiset.Entry<E> ImmutableSortedMultiset.pollLastEntry()Deprecated.Unsupported operation.SortedMultiset.pollLastEntry()Returns and removes the entry associated with the greatest element in this multiset, or returnsnullif 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.Entryinstances, 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.Entryinstances, each providing an element of the multiset and the count of that element.