|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ImmutableSortedSet | |
|---|---|
| com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
| Uses of ImmutableSortedSet in com.google.common.collect |
|---|
| Methods in com.google.common.collect that return ImmutableSortedSet | ||
|---|---|---|
ImmutableSortedSet<E> |
ImmutableSortedSet.Builder.build()
Returns a newly-created ImmutableSortedSet based on the contents
of the Builder and its comparator. |
|
static
|
ImmutableSortedSet.copyOf(Collection<? extends E> elements)
Returns an immutable sorted set containing the given elements sorted by their natural ordering. |
|
static
|
ImmutableSortedSet.copyOf(Comparator<? super E> comparator,
Collection<? extends E> elements)
Returns an immutable sorted set containing the given elements sorted by the given Comparator. |
|
static
|
ImmutableSortedSet.copyOf(Comparator<? super E> comparator,
Iterable<? extends E> elements)
Returns an immutable sorted set containing the given elements sorted by the given Comparator. |
|
static
|
ImmutableSortedSet.copyOf(Comparator<? super E> comparator,
Iterator<? extends E> elements)
Returns an immutable sorted set containing the given elements sorted by the given Comparator. |
|
static
|
ImmutableSortedSet.copyOf(E[] elements)
Returns an immutable sorted set containing the given elements sorted by their natural ordering. |
|
static
|
ImmutableSortedSet.copyOf(Iterable<? extends E> elements)
Returns an immutable sorted set containing the given elements sorted by their natural ordering. |
|
static
|
ImmutableSortedSet.copyOf(Iterator<? extends E> elements)
Returns an immutable sorted set containing the given elements sorted by their natural ordering. |
|
static
|
ImmutableSortedSet.copyOfSorted(SortedSet<E> sortedSet)
Returns an immutable sorted set containing the elements of a sorted set, sorted by the same Comparator. |
|
ImmutableSortedSet<E> |
ImmutableSortedSet.headSet(E toElement)
Returns a view of the portion of this set whose elements are strictly less than toElement. |
|
ImmutableSortedSet<K> |
ImmutableSortedMap.keySet()
Returns an immutable sorted set of the keys in this map. |
|
static
|
ImmutableSortedSet.of()
Returns the empty immutable sorted set. |
|
static
|
ImmutableSortedSet.of(E element)
Returns an immutable sorted set containing a single element. |
|
static
|
ImmutableSortedSet.of(E[] elements)
Deprecated. use copyOf(Comparable[]). This method is scheduled
for deletion in October 2011. |
|
static
|
ImmutableSortedSet.of(E e1,
E e2)
Returns an immutable sorted set containing the given elements sorted by their natural ordering. |
|
static
|
ImmutableSortedSet.of(E e1,
E e2,
E e3)
Returns an immutable sorted set containing the given elements sorted by their natural ordering. |
|
static
|
ImmutableSortedSet.of(E e1,
E e2,
E e3,
E e4)
Returns an immutable sorted set containing the given elements sorted by their natural ordering. |
|
static
|
ImmutableSortedSet.of(E e1,
E e2,
E e3,
E e4,
E e5)
Returns an immutable sorted set containing the given elements sorted by their natural ordering. |
|
static
|
ImmutableSortedSet.of(E e1,
E e2,
E e3,
E e4,
E e5,
E e6,
E... remaining)
Returns an immutable sorted set containing the given elements sorted by their natural ordering. |
|
ImmutableSortedSet<E> |
ImmutableSortedSet.subSet(E fromElement,
E toElement)
Returns a view of the portion of this set whose elements range from fromElement, inclusive, to toElement, exclusive. |
|
ImmutableSortedSet<E> |
ImmutableSortedSet.tailSet(E fromElement)
Returns a view of the portion of this set whose elements are greater than or equal to fromElement. |
|
static
|
ImmutableSortedSet.withExplicitOrder(E firstElement,
E... remainingElementsInOrder)
Deprecated. If the provided elements are already in their natural order, of() will produce a set with the same elements in the same
order. If the elements are arranged according to another Comparator, use orderedBy(Comparator). Otherwise, use ImmutableSet, which maintains insertion order for inputs that are
ordered but not sorted. This method is scheduled for deletion in Guava
release 10. |
|
static
|
ImmutableSortedSet.withExplicitOrder(List<E> elements)
Deprecated. If the provided elements are already in their natural order, copyOf(Iterable) will produce a set with the same elements in
the same order. If the elements are arranged according to another
Comparator, use orderedBy(Comparator). Otherwise, use
ImmutableSet, which maintains insertion order for inputs that
are ordered but not sorted. This method is scheduled for deletion in
Guava release 10. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||