ImmutableSet<E> |
ImmutableSet.Builder.build() |
|
static <E> ImmutableSet<E> |
ImmutableSet.copyOf(E[] elements) |
Returns an immutable set containing each of elements, minus duplicates, in the order
each appears first in the source array.
|
static <E> ImmutableSet<E> |
ImmutableSet.copyOf(java.lang.Iterable<? extends E> elements) |
Returns an immutable set containing each of elements, minus duplicates, in the order
each appears first in the source iterable.
|
static <E> ImmutableSet<E> |
ImmutableSet.copyOf(java.util.Collection<? extends E> elements) |
Returns an immutable set containing each of elements, minus duplicates, in the order
each appears first in the source collection.
|
static <E> ImmutableSet<E> |
ImmutableSet.copyOf(java.util.Iterator<? extends E> elements) |
Returns an immutable set containing each of elements, minus duplicates, in the order
each appears first in the source iterator.
|
ImmutableSet<E> |
Sets.SetView.immutableCopy() |
Returns an immutable copy of the current contents of this set view.
|
static <E> ImmutableSet<E> |
ImmutableSet.of() |
Returns the empty immutable set.
|
static <E> ImmutableSet<E> |
ImmutableSet.of(E element) |
Returns an immutable set containing element.
|
static <E> ImmutableSet<E> |
ImmutableSet.of(E e1,
E e2) |
Returns an immutable set containing the given elements, minus duplicates, in the order each was
first specified.
|
static <E> ImmutableSet<E> |
ImmutableSet.of(E e1,
E e2,
E e3) |
Returns an immutable set containing the given elements, minus duplicates, in the order each was
first specified.
|
static <E> ImmutableSet<E> |
ImmutableSet.of(E e1,
E e2,
E e3,
E e4) |
Returns an immutable set containing the given elements, minus duplicates, in the order each was
first specified.
|
static <E> ImmutableSet<E> |
ImmutableSet.of(E e1,
E e2,
E e3,
E e4,
E e5) |
Returns an immutable set containing the given elements, minus duplicates, in the order each was
first specified.
|
static <E> ImmutableSet<E> |
ImmutableSet.of(E e1,
E e2,
E e3,
E e4,
E e5,
E e6,
E... others) |
Returns an immutable set containing the given elements, minus duplicates, in the order each was
first specified.
|