FixedSizeListFactory
public 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 FixedSizeListFactory
public <T> FixedSizeList<T> of()
FixedSizeListFactory
FixedSizeListFactory.empty()
.of
in interface FixedSizeListFactory
public <T> FixedSizeList<T> with()
FixedSizeListFactory
FixedSizeListFactory.empty()
.with
in interface FixedSizeListFactory
public <T> FixedSizeList<T> of(T one)
FixedSizeListFactory
FixedSizeListFactory.with(Object)
.of
in interface FixedSizeListFactory
public <T> FixedSizeList<T> with(T one)
with
in interface FixedSizeListFactory
public <T> FixedSizeList<T> of(T one, T two)
FixedSizeListFactory
of
in interface FixedSizeListFactory
public <T> FixedSizeList<T> with(T one, T two)
with
in interface FixedSizeListFactory
public <T> FixedSizeList<T> of(T one, T two, T three)
FixedSizeListFactory
of
in interface FixedSizeListFactory
public <T> FixedSizeList<T> with(T one, T two, T three)
with
in interface FixedSizeListFactory
public <T> FixedSizeList<T> of(T one, T two, T three, T four)
FixedSizeListFactory
of
in interface FixedSizeListFactory
public <T> FixedSizeList<T> with(T one, T two, T three, T four)
with
in interface FixedSizeListFactory
public <T> FixedSizeList<T> of(T one, T two, T three, T four, T five)
FixedSizeListFactory
of
in interface FixedSizeListFactory
public <T> FixedSizeList<T> with(T one, T two, T three, T four, T five)
with
in interface FixedSizeListFactory
public <T> FixedSizeList<T> of(T one, T two, T three, T four, T five, T six)
FixedSizeListFactory
of
in interface FixedSizeListFactory
public <T> FixedSizeList<T> with(T one, T two, T three, T four, T five, T six)
with
in interface FixedSizeListFactory
public <T> FixedSizeList<T> of(T... items)
FixedSizeListFactory
of
in interface FixedSizeListFactory
public <T> FixedSizeList<T> with(T... items)
with
in interface FixedSizeListFactory
public <T> FixedSizeList<T> ofAll(java.lang.Iterable<? extends T> items)
FixedSizeListFactory
ofAll
in interface FixedSizeListFactory
public <T> FixedSizeList<T> withAll(java.lang.Iterable<? extends T> items)
withAll
in interface FixedSizeListFactory
Copyright © 2004–2018. All rights reserved.