ImmutableListFactory
public class ImmutableListFactoryImpl extends java.lang.Object implements ImmutableListFactory
Modifier and Type | Field | Description |
---|---|---|
static ImmutableListFactory |
INSTANCE |
Constructor | Description |
---|---|
ImmutableListFactoryImpl() |
Modifier and Type | Method | Description |
---|---|---|
<T> ImmutableList<T> |
empty() |
|
<T> ImmutableList<T> |
of() |
Same as
ImmutableListFactory.empty() . |
<T> ImmutableList<T> |
of(T one) |
Same as
ImmutableListFactory.with(Object) . |
<T> ImmutableList<T> |
of(T... items) |
Same as
ImmutableListFactory.with(Object[]) . |
<T> ImmutableList<T> |
of(T one,
T two) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three,
T four) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three,
T four,
T five) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three,
T four,
T five,
T six) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three,
T four,
T five,
T six,
T seven) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight,
T nine) |
|
<T> ImmutableList<T> |
of(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight,
T nine,
T ten) |
|
<T> ImmutableList<T> |
ofAll(java.lang.Iterable<? extends T> items) |
|
<T> ImmutableList<T> |
with() |
Same as
ImmutableListFactory.empty() . |
<T> ImmutableList<T> |
with(T one) |
|
<T> ImmutableList<T> |
with(T... items) |
|
<T> ImmutableList<T> |
with(T one,
T two) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three,
T four) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three,
T four,
T five) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three,
T four,
T five,
T six) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three,
T four,
T five,
T six,
T seven) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight,
T nine) |
|
<T> ImmutableList<T> |
with(T one,
T two,
T three,
T four,
T five,
T six,
T seven,
T eight,
T nine,
T ten) |
|
<T> ImmutableList<T> |
withAll(java.lang.Iterable<? extends T> items) |
fromStream
public static final ImmutableListFactory INSTANCE
public <T> ImmutableList<T> empty()
empty
in interface ImmutableListFactory
public <T> ImmutableList<T> of()
ImmutableListFactory
ImmutableListFactory.empty()
.of
in interface ImmutableListFactory
public <T> ImmutableList<T> with()
ImmutableListFactory
ImmutableListFactory.empty()
.with
in interface ImmutableListFactory
public <T> ImmutableList<T> of(T one)
ImmutableListFactory
ImmutableListFactory.with(Object)
.of
in interface ImmutableListFactory
public <T> ImmutableList<T> with(T one)
with
in interface ImmutableListFactory
public <T> ImmutableList<T> of(T one, T two)
ImmutableListFactory
of
in interface ImmutableListFactory
public <T> ImmutableList<T> with(T one, T two)
with
in interface ImmutableListFactory
public <T> ImmutableList<T> of(T one, T two, T three)
ImmutableListFactory
of
in interface ImmutableListFactory
public <T> ImmutableList<T> with(T one, T two, T three)
with
in interface ImmutableListFactory
public <T> ImmutableList<T> of(T one, T two, T three, T four)
ImmutableListFactory
of
in interface ImmutableListFactory
public <T> ImmutableList<T> with(T one, T two, T three, T four)
with
in interface ImmutableListFactory
public <T> ImmutableList<T> of(T one, T two, T three, T four, T five)
ImmutableListFactory
of
in interface ImmutableListFactory
public <T> ImmutableList<T> with(T one, T two, T three, T four, T five)
with
in interface ImmutableListFactory
public <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six)
ImmutableListFactory
of
in interface ImmutableListFactory
public <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six)
with
in interface ImmutableListFactory
public <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven)
ImmutableListFactory
of
in interface ImmutableListFactory
public <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six, T seven)
with
in interface ImmutableListFactory
public <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven, T eight)
ImmutableListFactory
of
in interface ImmutableListFactory
public <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six, T seven, T eight)
with
in interface ImmutableListFactory
public <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine)
ImmutableListFactory
ImmutableListFactory.with(Object, Object, Object, Object, Object, Object, Object, Object, Object)
.of
in interface ImmutableListFactory
public <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine)
with
in interface ImmutableListFactory
public <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine, T ten)
ImmutableListFactory
of
in interface ImmutableListFactory
public <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine, T ten)
with
in interface ImmutableListFactory
public <T> ImmutableList<T> of(T... items)
ImmutableListFactory
ImmutableListFactory.with(Object[])
.of
in interface ImmutableListFactory
public <T> ImmutableList<T> with(T... items)
with
in interface ImmutableListFactory
public <T> ImmutableList<T> ofAll(java.lang.Iterable<? extends T> items)
ImmutableListFactory
ofAll
in interface ImmutableListFactory
public <T> ImmutableList<T> withAll(java.lang.Iterable<? extends T> items)
withAll
in interface ImmutableListFactory
Copyright © 2004–2020. All rights reserved.