FixedSizeListFactorypublic enum FixedSizeListFactoryImpl extends java.lang.Enum<FixedSizeListFactoryImpl> implements FixedSizeListFactory
| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
<T> FixedSizeList<T> |
empty() |
|
<T> FixedSizeList<T> |
of() |
Same as
FixedSizeListFactory.empty(). |
<T> FixedSizeList<T> |
of(T one) |
Same as
FixedSizeListFactory.with(Object). |
<T> FixedSizeList<T> |
of(T... items) |
|
<T> FixedSizeList<T> |
of(T one,
T two) |
|
<T> FixedSizeList<T> |
of(T one,
T two,
T three) |
|
<T> FixedSizeList<T> |
of(T one,
T two,
T three,
T four) |
|
<T> FixedSizeList<T> |
of(T one,
T two,
T three,
T four,
T five) |
|
<T> FixedSizeList<T> |
of(T one,
T two,
T three,
T four,
T five,
T six) |
|
<T> FixedSizeList<T> |
ofAll(java.lang.Iterable<? extends T> items) |
|
static FixedSizeListFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FixedSizeListFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<T> FixedSizeList<T> |
with() |
Same as
FixedSizeListFactory.empty(). |
<T> FixedSizeList<T> |
with(T one) |
|
<T> FixedSizeList<T> |
with(T... items) |
|
<T> FixedSizeList<T> |
with(T one,
T two) |
|
<T> FixedSizeList<T> |
with(T one,
T two,
T three) |
|
<T> FixedSizeList<T> |
with(T one,
T two,
T three,
T four) |
|
<T> FixedSizeList<T> |
with(T one,
T two,
T three,
T four,
T five) |
|
<T> FixedSizeList<T> |
with(T one,
T two,
T three,
T four,
T five,
T six) |
|
<T> FixedSizeList<T> |
withAll(java.lang.Iterable<? extends T> items) |
public static final FixedSizeListFactoryImpl INSTANCE
public static FixedSizeListFactoryImpl[] values()
for (FixedSizeListFactoryImpl c : FixedSizeListFactoryImpl.values()) System.out.println(c);
public static FixedSizeListFactoryImpl 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> FixedSizeList<T> empty()
empty in interface FixedSizeListFactorypublic <T> FixedSizeList<T> of()
FixedSizeListFactoryFixedSizeListFactory.empty().of in interface FixedSizeListFactorypublic <T> FixedSizeList<T> with()
FixedSizeListFactoryFixedSizeListFactory.empty().with in interface FixedSizeListFactorypublic <T> FixedSizeList<T> of(T one)
FixedSizeListFactoryFixedSizeListFactory.with(Object).of in interface FixedSizeListFactorypublic <T> FixedSizeList<T> with(T one)
with in interface FixedSizeListFactorypublic <T> FixedSizeList<T> of(T one, T two)
FixedSizeListFactoryof in interface FixedSizeListFactorypublic <T> FixedSizeList<T> with(T one, T two)
with in interface FixedSizeListFactorypublic <T> FixedSizeList<T> of(T one, T two, T three)
FixedSizeListFactoryof in interface FixedSizeListFactorypublic <T> FixedSizeList<T> with(T one, T two, T three)
with in interface FixedSizeListFactorypublic <T> FixedSizeList<T> of(T one, T two, T three, T four)
FixedSizeListFactoryof in interface FixedSizeListFactorypublic <T> FixedSizeList<T> with(T one, T two, T three, T four)
with in interface FixedSizeListFactorypublic <T> FixedSizeList<T> of(T one, T two, T three, T four, T five)
FixedSizeListFactoryof in interface FixedSizeListFactorypublic <T> FixedSizeList<T> with(T one, T two, T three, T four, T five)
with in interface FixedSizeListFactorypublic <T> FixedSizeList<T> of(T one, T two, T three, T four, T five, T six)
FixedSizeListFactoryof in interface FixedSizeListFactorypublic <T> FixedSizeList<T> with(T one, T two, T three, T four, T five, T six)
with in interface FixedSizeListFactorypublic <T> FixedSizeList<T> of(T... items)
FixedSizeListFactoryof in interface FixedSizeListFactorypublic <T> FixedSizeList<T> with(T... items)
with in interface FixedSizeListFactorypublic <T> FixedSizeList<T> ofAll(java.lang.Iterable<? extends T> items)
FixedSizeListFactoryofAll in interface FixedSizeListFactorypublic <T> FixedSizeList<T> withAll(java.lang.Iterable<? extends T> items)
withAll in interface FixedSizeListFactoryCopyright © 2004–2017. All rights reserved.