ImmutableSet.Builder<E> |
ImmutableSet.Builder.add(E element) |
Adds element to the ImmutableSet .
|
ImmutableSet.Builder<E> |
ImmutableSet.Builder.add(E... elements) |
Adds each element of elements to the ImmutableSet , ignoring duplicate
elements (only the first duplicate element is added).
|
ImmutableSet.Builder<E> |
ImmutableSet.Builder.addAll(java.lang.Iterable<? extends E> elements) |
Adds each element of elements to the ImmutableSet , ignoring duplicate
elements (only the first duplicate element is added).
|
ImmutableSet.Builder<E> |
ImmutableSet.Builder.addAll(java.util.Iterator<? extends E> elements) |
Adds each element of elements to the ImmutableSet , ignoring duplicate
elements (only the first duplicate element is added).
|
static <E> ImmutableSet.Builder<E> |
ImmutableSet.builder() |
Returns a new builder.
|
static <E> ImmutableSet.Builder<E> |
ImmutableSet.builderWithExpectedSize(int expectedSize) |
Returns a new builder, expecting the specified number of distinct elements to be added.
|