public class ImmutableSetFactoryImpl extends Object implements ImmutableSetFactory
| Modifier and Type | Field and Description |
|---|---|
static ImmutableSetFactory |
INSTANCE |
| Constructor and Description |
|---|
ImmutableSetFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T> ImmutableSet<T> |
empty() |
<T> ImmutableSet<T> |
of() |
<T> ImmutableSet<T> |
of(T... items) |
<T> ImmutableSet<T> |
of(T one) |
<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() |
<T> ImmutableSet<T> |
with(T... items) |
<T> ImmutableSet<T> |
with(T one) |
<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) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromStreampublic static final ImmutableSetFactory INSTANCE
public <T> ImmutableSet<T> empty()
empty in interface ImmutableSetFactorypublic <T> ImmutableSet<T> of()
of in interface ImmutableSetFactorypublic <T> ImmutableSet<T> with()
with in interface ImmutableSetFactorypublic <T> ImmutableSet<T> of(T one)
of in interface ImmutableSetFactorypublic <T> ImmutableSet<T> with(T one)
with in interface ImmutableSetFactorypublic <T> ImmutableSet<T> of(T one, T two)
of 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)
of 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)
of 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)
of in interface ImmutableSetFactorypublic <T> ImmutableSet<T> with(T... items)
with in interface ImmutableSetFactorypublic <T> ImmutableSet<T> ofAll(Iterable<? extends T> items)
ofAll in interface ImmutableSetFactorypublic <T> ImmutableSet<T> withAll(Iterable<? extends T> items)
withAll in interface ImmutableSetFactoryCopyright © 2004–2022. All rights reserved.