Uses of Class
com.google.common.collect.ImmutableSortedMultiset
Packages that use ImmutableSortedMultiset
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of ImmutableSortedMultiset in com.google.common.collect
Methods in com.google.common.collect that return ImmutableSortedMultisetModifier and TypeMethodDescriptionImmutableSortedMultiset.Builder.build()Returns a newly-createdImmutableSortedMultisetbased on the contents of theBuilder.static <E extends Comparable<? super E>>
ImmutableSortedMultiset<E> ImmutableSortedMultiset.copyOf(E[] elements) Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.static <E> ImmutableSortedMultiset<E> Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.static <E> ImmutableSortedMultiset<E> ImmutableSortedMultiset.copyOf(Comparator<? super E> comparator, Iterable<? extends E> elements) Returns an immutable sorted multiset containing the given elements sorted by the givenComparator.static <E> ImmutableSortedMultiset<E> ImmutableSortedMultiset.copyOf(Comparator<? super E> comparator, Iterator<? extends E> elements) Returns an immutable sorted multiset containing the given elements sorted by the givenComparator.static <E> ImmutableSortedMultiset<E> Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.static <Z> ImmutableSortedMultiset<Z> ImmutableSortedMultiset.copyOf(Z[] elements) Deprecated.static <E> ImmutableSortedMultiset<E> ImmutableSortedMultiset.copyOfSorted(SortedMultiset<E> sortedMultiset) Returns an immutable sorted multiset containing the elements of a sorted multiset, sorted by the sameComparator.ImmutableSortedMultiset.descendingMultiset()abstract ImmutableSortedMultiset<E> ImmutableSortedMultiset.headMultiset(E upperBound, BoundType boundType) static <E> ImmutableSortedMultiset<E> ImmutableSortedMultiset.of()Returns the empty immutable sorted multiset.static <E extends Comparable<? super E>>
ImmutableSortedMultiset<E> ImmutableSortedMultiset.of(E e1) Returns an immutable sorted multiset containing a single element.static <E> ImmutableSortedMultiset<E> ImmutableSortedMultiset.of(E e1) Deprecated.Pass a parameter of typeComparableto useof(Comparable).static <E extends Comparable<? super E>>
ImmutableSortedMultiset<E> ImmutableSortedMultiset.of(E e1, E e2) Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.static <E> ImmutableSortedMultiset<E> ImmutableSortedMultiset.of(E e1, E e2) Deprecated.Pass the parameters of typeComparableto useof(Comparable, Comparable).static <E extends Comparable<? super E>>
ImmutableSortedMultiset<E> ImmutableSortedMultiset.of(E e1, E e2, E e3) Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.static <E> ImmutableSortedMultiset<E> ImmutableSortedMultiset.of(E e1, E e2, E e3) Deprecated.Pass the parameters of typeComparableto useof(Comparable, Comparable, Comparable).static <E extends Comparable<? super E>>
ImmutableSortedMultiset<E> ImmutableSortedMultiset.of(E e1, E e2, E e3, E e4) Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.static <E> ImmutableSortedMultiset<E> ImmutableSortedMultiset.of(E e1, E e2, E e3, E e4) Deprecated.Pass the parameters of typeComparableto useof(Comparable, Comparable, Comparable, Comparable).static <E extends Comparable<? super E>>
ImmutableSortedMultiset<E> ImmutableSortedMultiset.of(E e1, E e2, E e3, E e4, E e5) Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.static <E> ImmutableSortedMultiset<E> ImmutableSortedMultiset.of(E e1, E e2, E e3, E e4, E e5) Deprecated.Pass the parameters of typeComparableto useof(Comparable, Comparable, Comparable, Comparable, Comparable).static <E extends Comparable<? super E>>
ImmutableSortedMultiset<E> ImmutableSortedMultiset.of(E e1, E e2, E e3, E e4, E e5, E e6, E... remaining) Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.static <E> ImmutableSortedMultiset<E> ImmutableSortedMultiset.of(E e1, E e2, E e3, E e4, E e5, E e6, E... remaining) Deprecated.Pass the parameters of typeComparableto useof(Comparable, Comparable, Comparable, Comparable, Comparable, Comparable, Comparable...).ImmutableSortedMultiset.subMultiset(E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) abstract ImmutableSortedMultiset<E> ImmutableSortedMultiset.tailMultiset(E lowerBound, BoundType boundType) Methods in com.google.common.collect that return types with arguments of type ImmutableSortedMultisetModifier and TypeMethodDescriptionstatic <E> Collector<E, ?, ImmutableSortedMultiset<E>> ImmutableSortedMultiset.toImmutableSortedMultiset(Comparator<? super E> comparator) Returns aCollectorthat accumulates the input elements into a newImmutableMultiset.static <T extends @Nullable Object, E>
Collector<T, ?, ImmutableSortedMultiset<E>> ImmutableSortedMultiset.toImmutableSortedMultiset(Comparator<? super E> comparator, Function<? super T, ? extends E> elementFunction, ToIntFunction<? super T> countFunction) Returns aCollectorthat accumulates elements into anImmutableSortedMultisetwhose elements are the result of applyingelementFunctionto the inputs, with counts equal to the result of applyingcountFunctionto the inputs.
Comparableto usecopyOf(Comparable[]).