Class ImmutableListFactoryImpl
java.lang.Object
org.eclipse.collections.impl.list.immutable.ImmutableListFactoryImpl
- All Implemented Interfaces:
ImmutableListFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> ImmutableList<T>empty()<T> ImmutableList<T>of()Same asImmutableListFactory.empty().<T> ImmutableList<T>of(T one) Same asImmutableListFactory.with(Object).<T> ImmutableList<T>of(T... items) Same asImmutableListFactory.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><T> ImmutableList<T>with()Same asImmutableListFactory.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><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, waitMethods inherited from interface org.eclipse.collections.api.factory.list.ImmutableListFactory
fromStream
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableListFactoryImpl
public ImmutableListFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactorySame asImmutableListFactory.empty().- Specified by:
ofin interfaceImmutableListFactory
-
with
Description copied from interface:ImmutableListFactorySame asImmutableListFactory.empty().- Specified by:
within interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactorySame asImmutableListFactory.with(Object).- Specified by:
ofin interfaceImmutableListFactory
-
with
- Specified by:
within interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory- Specified by:
ofin interfaceImmutableListFactory
-
with
- Specified by:
within interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory- Specified by:
ofin interfaceImmutableListFactory
-
with
- Specified by:
within interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory- Specified by:
ofin interfaceImmutableListFactory
-
with
- Specified by:
within interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory- Specified by:
ofin interfaceImmutableListFactory
-
with
- Specified by:
within interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory- Specified by:
ofin interfaceImmutableListFactory
-
with
- Specified by:
within interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory- Specified by:
ofin interfaceImmutableListFactory
-
with
- Specified by:
within interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory- Specified by:
ofin interfaceImmutableListFactory
-
with
- 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) Description copied from interface:ImmutableListFactorySame asImmutableListFactory.with(Object, Object, Object, Object, Object, Object, Object, Object, Object).- 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) Description copied from interface:ImmutableListFactory- 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
Description copied from interface:ImmutableListFactorySame asImmutableListFactory.with(Object[]).- Specified by:
ofin interfaceImmutableListFactory
-
with
- Specified by:
within interfaceImmutableListFactory
-
ofAll
Description copied from interface:ImmutableListFactory- Specified by:
ofAllin interfaceImmutableListFactory
-
withAll
- Specified by:
withAllin interfaceImmutableListFactory
-
withAllSorted
- Specified by:
withAllSortedin interfaceImmutableListFactory
-
withAllSorted
public <T> ImmutableList<T> withAllSorted(Comparator<? super T> comparator, RichIterable<? extends T> items) - Specified by:
withAllSortedin interfaceImmutableListFactory
-