FixedSizeListFactorypublic class FixedSizeListFactoryImpl extends Object implements FixedSizeListFactory
| Modifier and Type | Field | Description |
|---|---|---|
static FixedSizeListFactory |
INSTANCE |
| Constructor | Description |
|---|---|
FixedSizeListFactoryImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
<T> FixedSizeList<T> |
empty() |
|
<T> FixedSizeList<T> |
fromStream(Stream<? extends T> stream) |
|
<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(Iterable<? extends T> items) |
|
<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(Iterable<? extends T> items) |
public static final FixedSizeListFactory INSTANCE
public <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(Iterable<? extends T> items)
FixedSizeListFactoryofAll in interface FixedSizeListFactorypublic <T> FixedSizeList<T> withAll(Iterable<? extends T> items)
withAll in interface FixedSizeListFactorypublic <T> FixedSizeList<T> fromStream(Stream<? extends T> stream)
fromStream in interface FixedSizeListFactoryCopyright © 2004–2019. All rights reserved.