public enum FixedSizeListFactoryImpl extends Enum<FixedSizeListFactoryImpl> implements FixedSizeListFactory
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T> FixedSizeList<T> |
empty() |
<T> FixedSizeList<T> |
of() |
<T> FixedSizeList<T> |
of(T... items) |
<T> FixedSizeList<T> |
of(T one) |
<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(Iterable<? extends T> items) |
static FixedSizeListFactoryImpl |
valueOf(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() |
<T> FixedSizeList<T> |
with(T... items) |
<T> FixedSizeList<T> |
with(T one) |
<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(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic <T> FixedSizeList<T> empty()
empty in interface FixedSizeListFactorypublic <T> FixedSizeList<T> of()
of in interface FixedSizeListFactorypublic <T> FixedSizeList<T> with()
with in interface FixedSizeListFactorypublic <T> FixedSizeList<T> of(T one)
of in interface FixedSizeListFactorypublic <T> FixedSizeList<T> with(T one)
with in interface FixedSizeListFactorypublic <T> FixedSizeList<T> of(T one, T two)
of 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)
of 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)
of 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)
of 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)
of 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)
of in interface FixedSizeListFactorypublic <T> FixedSizeList<T> with(T... items)
with in interface FixedSizeListFactorypublic <T> FixedSizeList<T> ofAll(Iterable<? extends T> items)
ofAll in interface FixedSizeListFactorypublic <T> FixedSizeList<T> withAll(Iterable<? extends T> items)
withAll in interface FixedSizeListFactoryCopyright © 2004–2017. All rights reserved.