@Immutable public final class MutableSetFactoryImpl extends Object implements MutableSetFactory
| Constructor and Description |
|---|
MutableSetFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T> MutableSet<T> |
of()
Same as
MutableSetFactory.with(). |
<T> MutableSet<T> |
of(T... items)
Same as
MutableSetFactory.with(Object[]). |
<T> MutableSet<T> |
ofAll(Iterable<? extends T> items)
Same as
MutableSetFactory.withAll(Iterable). |
<T> MutableSet<T> |
with() |
<T> MutableSet<T> |
with(T... items) |
<T> MutableSet<T> |
withAll(Iterable<? extends T> items) |
public <T> MutableSet<T> of()
MutableSetFactoryMutableSetFactory.with().of in interface MutableSetFactorypublic <T> MutableSet<T> with()
with in interface MutableSetFactorypublic <T> MutableSet<T> of(T... items)
MutableSetFactoryMutableSetFactory.with(Object[]).of in interface MutableSetFactorypublic <T> MutableSet<T> with(T... items)
with in interface MutableSetFactorypublic <T> MutableSet<T> ofAll(Iterable<? extends T> items)
MutableSetFactoryMutableSetFactory.withAll(Iterable).ofAll in interface MutableSetFactorypublic <T> MutableSet<T> withAll(Iterable<? extends T> items)
withAll in interface MutableSetFactoryCopyright © 2004–2017. All rights reserved.