Uses of Interface
org.docx4j.com.google.common.collect.Multiset
Packages that use Multiset
-
Uses of Multiset in org.docx4j.com.google.common.collect
Fields in org.docx4j.com.google.common.collect declared as MultisetMethods in org.docx4j.com.google.common.collect with type parameters of type MultisetModifier and TypeMethodDescriptionMultisets.toMultiset(Function<? super T, E> elementFunction, ToIntFunction<? super T> countFunction, Supplier<M> multisetSupplier) Returns aCollectorthat accumulates elements into a multiset created via the specifiedSupplier, whose elements are the result of applyingelementFunctionto the inputs, with counts equal to the result of applyingcountFunctionto the inputs.Methods in org.docx4j.com.google.common.collect that return MultisetModifier and TypeMethodDescription(package private) static <T> Multiset<T>Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557Multisets.ElementSet.multiset()Multisets.EntrySet.multiset()Methods in org.docx4j.com.google.common.collect with parameters of type MultisetModifier and TypeMethodDescription(package private) static <E> booleanMultisets.addAllImpl(Multiset<E> self, Collection<? extends E> elements) An implementation ofCollection.addAll(java.util.Collection<? extends E>).private static <E> booleanMultisets.addAllImpl(Multiset<E> self, Multiset<? extends E> elements) A specialization ofaddAllImplfor whenelementsis itself a Multiset.static booleanMultisets.containsOccurrences(Multiset<?> superMultiset, Multiset<?> subMultiset) ReturnstrueifsubMultiset.count(o) <= superMultiset.count(o)for allo.(package private) static booleanMultisets.equalsImpl(Multiset<?> multiset, @Nullable Object object) An implementation ofequals(java.lang.Object).(package private) static <E> Iterator<E>Multisets.iteratorImpl(Multiset<E> multiset) An implementation ofiterator().(package private) static intMultisets.linearTimeSizeImpl(Multiset<?> multiset) An implementation ofsize().(package private) static booleanMultisets.removeAllImpl(Multiset<?> self, Collection<?> elementsToRemove) An implementation ofremoveAll(java.util.Collection<?>).static booleanMultisets.removeOccurrences(Multiset<?> multisetToModify, Iterable<?> occurrencesToRemove) For each occurrence of an elementeinoccurrencesToRemove, removes one occurrence ofeinmultisetToModify.static booleanMultisets.removeOccurrences(Multiset<?> multisetToModify, Multiset<?> occurrencesToRemove) For each occurrence of an elementeinoccurrencesToRemove, removes one occurrence ofeinmultisetToModify.(package private) static booleanMultisets.retainAllImpl(Multiset<?> self, Collection<?> elementsToRetain) An implementation ofretainAll(java.util.Collection<?>).static booleanMultisets.retainOccurrences(Multiset<?> multisetToModify, Multiset<?> multisetToRetain) ModifiesmultisetToModifyso that its count for an elementeis at mostmultisetToRetain.count(e).private static <E> booleanMultisets.retainOccurrencesImpl(Multiset<E> multisetToModify, Multiset<?> occurrencesToRetain) Delegate implementation which cares about the element type.(package private) static <E> Spliterator<E>Multisets.spliteratorImpl(Multiset<E> multiset) Constructors in org.docx4j.com.google.common.collect with parameters of type MultisetModifierConstructorDescription(package private)MultisetIteratorImpl(Multiset<E> multiset, Iterator<Multiset.Entry<E>> entryIterator)