FixedSizeListFactory
public 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 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(Iterable<? extends T> items)
FixedSizeListFactory
ofAll
in interface FixedSizeListFactory
public <T> FixedSizeList<T> withAll(Iterable<? extends T> items)
withAll
in interface FixedSizeListFactory
public <T> FixedSizeList<T> fromStream(Stream<? extends T> stream)
fromStream
in interface FixedSizeListFactory
Copyright © 2004–2019. All rights reserved.