ImmutableListFactorypublic enum ImmutableListFactoryImpl extends java.lang.Enum<ImmutableListFactoryImpl> implements ImmutableListFactory
| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
<T> ImmutableList<T> |
empty() |
|
<T> ImmutableList<T> |
of() |
Same as
ImmutableListFactory.empty(). |
<T> ImmutableList<T> |
of(T one) |
Same as
ImmutableListFactory.with(Object). |
<T> ImmutableList<T> |
of(T... items) |
Same as
ImmutableListFactory.with(Object[]). |
<T> ImmutableList<T> |
of(T one,
T two) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three,
T four) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three,
T four,
T five) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three,
T four,
T five,
T six) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three,
T four,
T five,
T six,
T seven) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight,
T nine) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight,
T nine,
T ten) |
|
<T> ImmutableList<T> |
ofAll(java.lang.Iterable<? extends T> items) |
|
static ImmutableListFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableListFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<T> ImmutableList<T> |
with() |
Same as
ImmutableListFactory.empty(). |
<T> ImmutableList<T> |
with(T one) |
|
<T> ImmutableList<T> |
with(T... items) |
|
<T> ImmutableList<T> |
with(T one,
T two) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three,
T four) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three,
T four,
T five) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three,
T four,
T five,
T six) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three,
T four,
T five,
T six,
T seven) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight,
T nine) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight,
T nine,
T ten) |
|
<T> ImmutableList<T> |
withAll(java.lang.Iterable<? extends T> items) |
public static final ImmutableListFactoryImpl INSTANCE
public static ImmutableListFactoryImpl[] values()
for (ImmutableListFactoryImpl c : ImmutableListFactoryImpl.values()) System.out.println(c);
public static ImmutableListFactoryImpl valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic <T> ImmutableList<T> empty()
empty in interface ImmutableListFactorypublic <T> ImmutableList<T> of()
ImmutableListFactoryImmutableListFactory.empty().of in interface ImmutableListFactorypublic <T> ImmutableList<T> with()
ImmutableListFactoryImmutableListFactory.empty().with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one)
ImmutableListFactoryImmutableListFactory.with(Object).of in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two)
ImmutableListFactoryof in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three)
ImmutableListFactoryof in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two, T three)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three, T four)
ImmutableListFactoryof in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two, T three, T four)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three, T four, T five)
ImmutableListFactoryof in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two, T three, T four, T five)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six)
ImmutableListFactoryof in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven)
ImmutableListFactoryof in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six, T seven)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven, T eight)
ImmutableListFactoryof in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six, T seven, T eight)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine)
ImmutableListFactoryImmutableListFactory.with(Object, Object, Object, Object, Object, Object, Object, Object, Object).of in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine, T ten)
ImmutableListFactoryof in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine, T ten)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T... items)
ImmutableListFactoryImmutableListFactory.with(Object[]).of in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T... items)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> ofAll(java.lang.Iterable<? extends T> items)
ImmutableListFactoryofAll in interface ImmutableListFactorypublic <T> ImmutableList<T> withAll(java.lang.Iterable<? extends T> items)
withAll in interface ImmutableListFactoryCopyright © 2004–2018. All rights reserved.