Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
com.google.common.reflect |
This package contains utilities to work with Java reflection.
|
Modifier and Type | Method and Description |
---|---|
ImmutableSortedSet.Builder<E> |
ImmutableSortedSet.Builder.add(E... elements)
Adds each element of
elements to the ImmutableSortedSet ,
ignoring duplicate elements (only the first duplicate element is added). |
ImmutableSortedSet.Builder<E> |
ImmutableSortedSet.Builder.add(E element)
Adds
element to the ImmutableSortedSet . |
ImmutableSortedSet.Builder<E> |
ImmutableSortedSet.Builder.addAll(java.lang.Iterable<? extends E> elements)
Adds each element of
elements to the ImmutableSortedSet ,
ignoring duplicate elements (only the first duplicate element is added). |
ImmutableSortedSet.Builder<E> |
ImmutableSortedSet.Builder.addAll(java.util.Iterator<? extends E> elements)
Adds each element of
elements to the ImmutableSortedSet ,
ignoring duplicate elements (only the first duplicate element is added). |
static <E> ImmutableSortedSet.Builder<E> |
ContiguousSet.builder()
|
static <E> ImmutableSortedSet.Builder<E> |
ImmutableSortedSetFauxverideShim.builder()
Deprecated.
Use
ImmutableSortedSet.naturalOrder() , which offers
better type-safety. |
static <E extends java.lang.Comparable<?>> |
ImmutableSortedSet.naturalOrder()
Returns a builder that creates immutable sorted sets whose elements are
ordered by their natural ordering.
|
static <E> ImmutableSortedSet.Builder<E> |
ImmutableSortedSet.orderedBy(java.util.Comparator<E> comparator)
Returns a builder that creates immutable sorted sets with an explicit
comparator.
|
static <E extends java.lang.Comparable<?>> |
ImmutableSortedSet.reverseOrder()
Returns a builder that creates immutable sorted sets whose elements are
ordered by the reverse of their natural ordering.
|
Modifier and Type | Field and Description |
---|---|
private ImmutableSortedSet.Builder<ClassPath.ResourceInfo> |
ClassPath.Scanner.resources |