public static class MutableSet.Builder<V>
extends java.lang.Object
ImmutableSet.Builder
Constructor and Description |
---|
MutableSet.Builder() |
Modifier and Type | Method and Description |
---|---|
MutableSet.Builder<V> |
add(V value) |
MutableSet.Builder<V> |
add(V v1,
V v2,
V... values) |
MutableSet.Builder<V> |
addAll(java.lang.Iterable<? extends V> iterable) |
MutableSet.Builder<V> |
addAll(java.util.Iterator<? extends V> iter) |
MutableSet.Builder<V> |
addAll(V[] values) |
MutableSet<V> |
build() |
MutableSet.Builder<V> |
remove(V val) |
MutableSet.Builder<V> |
removeAll(java.lang.Iterable<? extends V> iterable) |
public MutableSet.Builder<V> add(V value)
public MutableSet.Builder<V> add(V v1, V v2, V... values)
public MutableSet.Builder<V> remove(V val)
public MutableSet.Builder<V> addAll(V[] values)
public MutableSet.Builder<V> addAll(java.lang.Iterable<? extends V> iterable)
public MutableSet.Builder<V> addAll(java.util.Iterator<? extends V> iter)
public MutableSet.Builder<V> removeAll(java.lang.Iterable<? extends V> iterable)
public MutableSet<V> build()