Class ImmutableListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.immutable.ImmutableListFactoryImpl
-
- All Implemented Interfaces:
ImmutableListFactory
public class ImmutableListFactoryImpl extends Object implements ImmutableListFactory
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableListFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> ImmutableList<T>
empty()
<T> ImmutableList<T>
of()
<T> ImmutableList<T>
of(T one)
<T> ImmutableList<T>
of(T... items)
<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 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(Iterable<? extends T> items)
<T> ImmutableList<T>
withAllSorted(Comparator<? super T> comparator, RichIterable<? extends T> items)
<T> ImmutableList<T>
withAllSorted(RichIterable<? extends T> items)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.factory.list.ImmutableListFactory
fromStream
-
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableListFactory INSTANCE
-
-
Method Detail
-
empty
public <T> ImmutableList<T> empty()
- Specified by:
empty
in interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of()
- Specified by:
of
in interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with()
- Specified by:
with
in interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one)
- Specified by:
of
in interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one)
- Specified by:
with
in interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one, T two)
- Specified by:
of
in interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one, T two)
- Specified by:
with
in interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one, T two, T three)
- Specified by:
of
in interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one, T two, T three)
- Specified by:
with
in interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one, T two, T three, T four)
- Specified by:
of
in interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one, T two, T three, T four)
- Specified by:
with
in interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one, T two, T three, T four, T five)
- Specified by:
of
in interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one, T two, T three, T four, T five)
- Specified by:
with
in interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six)
- Specified by:
of
in interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six)
- Specified by:
with
in interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven)
- Specified by:
of
in interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six, T seven)
- Specified by:
with
in interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven, T eight)
- Specified by:
of
in interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six, T seven, T eight)
- Specified by:
with
in interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine)
- Specified by:
of
in interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six, T seven, T eight, T nine)
- Specified by:
with
in interfaceImmutableListFactory
-
of
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)
- Specified by:
of
in interfaceImmutableListFactory
-
with
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)
- Specified by:
with
in interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T... items)
- Specified by:
of
in interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T... items)
- Specified by:
with
in interfaceImmutableListFactory
-
ofAll
public <T> ImmutableList<T> ofAll(Iterable<? extends T> items)
- Specified by:
ofAll
in interfaceImmutableListFactory
-
withAll
public <T> ImmutableList<T> withAll(Iterable<? extends T> items)
- Specified by:
withAll
in interfaceImmutableListFactory
-
withAllSorted
public <T> ImmutableList<T> withAllSorted(RichIterable<? extends T> items)
- Specified by:
withAllSorted
in interfaceImmutableListFactory
-
withAllSorted
public <T> ImmutableList<T> withAllSorted(Comparator<? super T> comparator, RichIterable<? extends T> items)
- Specified by:
withAllSorted
in interfaceImmutableListFactory
-
-