Example usage for Java com.google.common.collect Multisets fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | containsOccurrences(Multiset> superMultiset, Multiset> subMultiset) Returns true if subMultiset.count(o) <= superMultiset.count(o) for all o . |
ImmutableMultiset | copyHighestCountFirst(Multiset Returns a copy of multiset as an ImmutableMultiset whose iteration order is highest count first, with ties broken by the iteration order of the original multiset. |
Multiset | difference(final Multiset Returns an unmodifiable view of the difference of two multisets. |
Multiset | filter(Multiset Returns a view of the elements of unfiltered that satisfy a predicate. |
Multiset.Entry | immutableEntry(@Nullable E e, int n) Returns an immutable multiset entry with the specified element and count. |
Multiset | intersection(final Multiset Returns an unmodifiable view of the intersection of two multisets. |
boolean | removeOccurrences(Multiset> multisetToModify, Iterable> occurrencesToRemove) For each occurrence of an element e in occurrencesToRemove , removes one occurrence of e in multisetToModify . |
boolean | removeOccurrences(Multiset> multisetToModify, Multiset> occurrencesToRemove) For each occurrence of an element e in occurrencesToRemove , removes one occurrence of e in multisetToModify . |
Multiset | union(final Multiset extends E> multiset1, final Multiset extends E> multiset2) Returns an unmodifiable view of the union of two multisets. |
Multiset | unmodifiableMultiset(Multiset extends E> multiset) Returns an unmodifiable view of the specified multiset. |
Multiset | unmodifiableMultiset(ImmutableMultiset Simply returns its argument. |
SortedMultiset | unmodifiableSortedMultiset(SortedMultiset Returns an unmodifiable view of the specified sorted multiset. |