Uses of Interface
org.docx4j.com.google.common.collect.Multiset

Packages that use Multiset 
Package Description
org.docx4j.com.google.common.collect  
  • Uses of Multiset in org.docx4j.com.google.common.collect

    Methods in org.docx4j.com.google.common.collect with type parameters of type Multiset 
    Modifier and Type Method Description
    static <T,​ E,​ M extends Multiset<E>>
    java.util.stream.Collector<T,​?,​M>
    Multisets.toMultiset​(java.util.function.Function<? super T,​E> elementFunction, java.util.function.ToIntFunction<? super T> countFunction, java.util.function.Supplier<M> multisetSupplier)
    Returns a Collector that accumulates elements into a multiset created via the specified Supplier, whose elements are the result of applying elementFunction to the inputs, with counts equal to the result of applying countFunction to the inputs.
    Methods in org.docx4j.com.google.common.collect with parameters of type Multiset 
    Modifier and Type Method Description
    static boolean Multisets.containsOccurrences​(Multiset<?> superMultiset, Multiset<?> subMultiset)
    Returns true if subMultiset.count(o) <= superMultiset.count(o) for all o.
    static boolean Multisets.removeOccurrences​(Multiset<?> multisetToModify, java.lang.Iterable<?> occurrencesToRemove)
    For each occurrence of an element e in occurrencesToRemove, removes one occurrence of e in multisetToModify.
    static boolean Multisets.removeOccurrences​(Multiset<?> multisetToModify, Multiset<?> occurrencesToRemove)
    For each occurrence of an element e in occurrencesToRemove, removes one occurrence of e in multisetToModify.
    static boolean Multisets.retainOccurrences​(Multiset<?> multisetToModify, Multiset<?> multisetToRetain)
    Modifies multisetToModify so that its count for an element e is at most multisetToRetain.count(e).