private static final class ImmutableSet.JdkBackedSetBuilderImpl<E> extends ImmutableSet.SetBuilderImpl<E>
Modifier and Type | Field and Description |
---|---|
private java.util.Set<java.lang.Object> |
delegate |
dedupedElements, distinct
Constructor and Description |
---|
JdkBackedSetBuilderImpl(ImmutableSet.SetBuilderImpl<E> toCopy) |
Modifier and Type | Method and Description |
---|---|
(package private) ImmutableSet.SetBuilderImpl<E> |
add(E e)
Adds e to this SetBuilderImpl, returning the updated result.
|
(package private) ImmutableSet<E> |
build() |
(package private) ImmutableSet.SetBuilderImpl<E> |
copy()
Creates a new copy of this SetBuilderImpl.
|
addDedupedElement, combine, review
JdkBackedSetBuilderImpl(ImmutableSet.SetBuilderImpl<E> toCopy)
ImmutableSet.SetBuilderImpl<E> add(E e)
ImmutableSet.SetBuilderImpl
add
in class ImmutableSet.SetBuilderImpl<E>
ImmutableSet.SetBuilderImpl<E> copy()
ImmutableSet.SetBuilderImpl
copy
in class ImmutableSet.SetBuilderImpl<E>
ImmutableSet<E> build()
build
in class ImmutableSet.SetBuilderImpl<E>