Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
Modifier and Type | Method and Description |
---|---|
ImmutableSortedMultiset<E> |
ImmutableSortedMultiset.Builder.build()
Returns a newly-created
ImmutableSortedMultiset based on the contents of the Builder . |
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 given
Comparator . |
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 given
Comparator . |
static <E extends Comparable<? super E>> |
ImmutableSortedMultiset.copyOf(E[] elements)
Returns an immutable sorted multiset containing the given elements sorted by their natural
ordering.
|
static <E> ImmutableSortedMultiset<E> |
ImmutableSortedMultiset.copyOf(Iterable<? extends E> elements)
Returns an immutable sorted multiset containing the given elements sorted by their natural
ordering.
|
static <E> ImmutableSortedMultiset<E> |
ImmutableSortedMultiset.copyOf(Iterator<? extends E> elements)
Returns an immutable sorted multiset containing the given elements sorted by their natural
ordering.
|
static <E> ImmutableSortedMultiset<E> |
ImmutableSortedMultiset.copyOfSorted(SortedMultiset<E> sortedMultiset)
Returns an immutable sorted multiset containing the elements of a sorted multiset, sorted by
the same
Comparator . |
ImmutableSortedMultiset<E> |
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.of(E element)
Returns an immutable sorted multiset containing a single element.
|
static <E extends Comparable<? super E>> |
ImmutableSortedMultiset.of(E e1,
E e2)
Returns an immutable sorted multiset containing the given elements sorted by their natural
ordering.
|
static <E extends Comparable<? super 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 extends Comparable<? super 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 extends Comparable<? super 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 extends Comparable<? super 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.
|
ImmutableSortedMultiset<E> |
ImmutableSortedMultiset.subMultiset(E lowerBound,
BoundType lowerBoundType,
E upperBound,
BoundType upperBoundType) |
abstract ImmutableSortedMultiset<E> |
ImmutableSortedMultiset.tailMultiset(E lowerBound,
BoundType boundType) |
Copyright © 2010–2017. All rights reserved.