ImmutableSetFactorypublic class ImmutableSetFactoryImpl extends Object implements ImmutableSetFactory
| Modifier and Type | Field | Description |
|---|---|---|
static ImmutableSetFactory |
INSTANCE |
| Constructor | Description |
|---|---|
ImmutableSetFactoryImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
<T> ImmutableSet<T> |
empty() |
|
<T> ImmutableSet<T> |
of() |
Same as
ImmutableSetFactory.empty(). |
<T> ImmutableSet<T> |
of(T one) |
Same as
ImmutableSetFactory.with(Object). |
<T> ImmutableSet<T> |
of(T... items) |
Same as
ImmutableSetFactory.with(Object[]). |
<T> ImmutableSet<T> |
of(T one,
T two) |
|
<T> ImmutableSet<T> |
of(T one,
T two,
T three) |
|
<T> ImmutableSet<T> |
of(T one,
T two,
T three,
T four) |
|
<T> ImmutableSet<T> |
ofAll(Iterable<? extends T> items) |
|
<T> ImmutableSet<T> |
with() |
Same as
ImmutableSetFactory.empty(). |
<T> ImmutableSet<T> |
with(T one) |
|
<T> ImmutableSet<T> |
with(T... items) |
|
<T> ImmutableSet<T> |
with(T one,
T two) |
|
<T> ImmutableSet<T> |
with(T one,
T two,
T three) |
|
<T> ImmutableSet<T> |
with(T one,
T two,
T three,
T four) |
|
<T> ImmutableSet<T> |
withAll(Iterable<? extends T> items) |
fromStreampublic static final ImmutableSetFactory INSTANCE
public <T> ImmutableSet<T> empty()
empty in interface ImmutableSetFactorypublic <T> ImmutableSet<T> of()
ImmutableSetFactoryImmutableSetFactory.empty().of in interface ImmutableSetFactorypublic <T> ImmutableSet<T> with()
ImmutableSetFactoryImmutableSetFactory.empty().with in interface ImmutableSetFactorypublic <T> ImmutableSet<T> of(T one)
ImmutableSetFactoryImmutableSetFactory.with(Object).of in interface ImmutableSetFactorypublic <T> ImmutableSet<T> with(T one)
with in interface ImmutableSetFactorypublic <T> ImmutableSet<T> of(T one, T two)
ImmutableSetFactoryof in interface ImmutableSetFactorypublic <T> ImmutableSet<T> with(T one, T two)
with in interface ImmutableSetFactorypublic <T> ImmutableSet<T> of(T one, T two, T three)
ImmutableSetFactoryof in interface ImmutableSetFactorypublic <T> ImmutableSet<T> with(T one, T two, T three)
with in interface ImmutableSetFactorypublic <T> ImmutableSet<T> of(T one, T two, T three, T four)
ImmutableSetFactoryof in interface ImmutableSetFactorypublic <T> ImmutableSet<T> with(T one, T two, T three, T four)
with in interface ImmutableSetFactorypublic <T> ImmutableSet<T> of(T... items)
ImmutableSetFactoryImmutableSetFactory.with(Object[]).of in interface ImmutableSetFactorypublic <T> ImmutableSet<T> with(T... items)
with in interface ImmutableSetFactorypublic <T> ImmutableSet<T> ofAll(Iterable<? extends T> items)
ImmutableSetFactoryofAll in interface ImmutableSetFactorypublic <T> ImmutableSet<T> withAll(Iterable<? extends T> items)
withAll in interface ImmutableSetFactoryCopyright © 2004–2019. All rights reserved.