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 ImmutableListFactoryINSTANCE
-
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:
emptyin interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of()
- Specified by:
ofin interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with()
- Specified by:
within interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one)
- Specified by:
ofin interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one)
- Specified by:
within interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one, T two)
- Specified by:
ofin interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one, T two)
- Specified by:
within interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one, T two, T three)
- Specified by:
ofin interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one, T two, T three)
- Specified by:
within interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one, T two, T three, T four)
- Specified by:
ofin interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one, T two, T three, T four)
- Specified by:
within interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one, T two, T three, T four, T five)
- Specified by:
ofin interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one, T two, T three, T four, T five)
- Specified by:
within interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six)
- Specified by:
ofin interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six)
- Specified by:
within interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T one, T two, T three, T four, T five, T six, T seven)
- Specified by:
ofin interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T one, T two, T three, T four, T five, T six, T seven)
- Specified by:
within 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:
ofin 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:
within 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:
ofin 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:
within 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:
ofin 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:
within interfaceImmutableListFactory
-
of
public <T> ImmutableList<T> of(T... items)
- Specified by:
ofin interfaceImmutableListFactory
-
with
public <T> ImmutableList<T> with(T... items)
- Specified by:
within interfaceImmutableListFactory
-
ofAll
public <T> ImmutableList<T> ofAll(Iterable<? extends T> items)
- Specified by:
ofAllin interfaceImmutableListFactory
-
withAll
public <T> ImmutableList<T> withAll(Iterable<? extends T> items)
- Specified by:
withAllin interfaceImmutableListFactory
-
withAllSorted
public <T> ImmutableList<T> withAllSorted(RichIterable<? extends T> items)
- Specified by:
withAllSortedin interfaceImmutableListFactory
-
withAllSorted
public <T> ImmutableList<T> withAllSorted(Comparator<? super T> comparator, RichIterable<? extends T> items)
- Specified by:
withAllSortedin interfaceImmutableListFactory
-
-