public class ImmutableListFactoryImpl extends Object implements ImmutableListFactory
| Modifier and Type | Field and Description |
|---|---|
static ImmutableListFactory |
INSTANCE |
| Constructor and Description |
|---|
ImmutableListFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T> ImmutableList<T> |
empty() |
<T> ImmutableList<T> |
of() |
<T> ImmutableList<T> |
of(T... items) |
<T> ImmutableList<T> |
of(T one) |
<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(Iterable<? extends T> items) |
<T> ImmutableList<T> |
with() |
<T> ImmutableList<T> |
with(T... items) |
<T> ImmutableList<T> |
with(T one) |
<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(Iterable<? extends T> items) |
<T> ImmutableList<T> |
withAllSorted(Comparator<? super T> comparator,
RichIterable<? extends T> items) |
<T> ImmutableList<T> |
withAllSorted(RichIterable<? extends T> items) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromStreampublic static final ImmutableListFactory INSTANCE
public <T> ImmutableList<T> empty()
empty in interface ImmutableListFactorypublic <T> ImmutableList<T> of()
of in interface ImmutableListFactorypublic <T> ImmutableList<T> with()
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one)
of in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two)
of in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three)
of in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two, T three)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three, T four)
of in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two, T three, T four)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three, T four, T five)
of in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two, T three, T four, T five)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six)
of in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven)
of in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six, T seven)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven, T eight)
of in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six, T seven, T eight)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine)
of in interface ImmutableListFactorypublic <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 ImmutableListFactorypublic <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine, T ten)
of in interface ImmutableListFactorypublic <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 ImmutableListFactorypublic <T> ImmutableList<T> of(T... items)
of in interface ImmutableListFactorypublic <T> ImmutableList<T> with(T... items)
with in interface ImmutableListFactorypublic <T> ImmutableList<T> ofAll(Iterable<? extends T> items)
ofAll in interface ImmutableListFactorypublic <T> ImmutableList<T> withAll(Iterable<? extends T> items)
withAll in interface ImmutableListFactorypublic <T> ImmutableList<T> withAllSorted(RichIterable<? extends T> items)
withAllSorted in interface ImmutableListFactorypublic <T> ImmutableList<T> withAllSorted(Comparator<? super T> comparator, RichIterable<? extends T> items)
withAllSorted in interface ImmutableListFactoryCopyright © 2004–2022. All rights reserved.