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
Modifier and Type Method Description <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>
ofAll(Iterable<? extends T> items)
<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>
withAll(Iterable<? 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 Details
-
Constructor Details
-
ImmutableListFactoryImpl
public ImmutableListFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory
Same asImmutableListFactory.empty()
.- Specified by:
of
in interfaceImmutableListFactory
-
with
Description copied from interface:ImmutableListFactory
Same asImmutableListFactory.empty()
.- Specified by:
with
in interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory
Same asImmutableListFactory.with(Object)
.- Specified by:
of
in interfaceImmutableListFactory
-
with
- Specified by:
with
in interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory
- Specified by:
of
in interfaceImmutableListFactory
-
with
- Specified by:
with
in interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory
- Specified by:
of
in interfaceImmutableListFactory
-
with
- Specified by:
with
in interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory
- Specified by:
of
in interfaceImmutableListFactory
-
with
- Specified by:
with
in interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory
- Specified by:
of
in interfaceImmutableListFactory
-
with
- Specified by:
with
in interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory
- Specified by:
of
in interfaceImmutableListFactory
-
with
- Specified by:
with
in interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory
- Specified by:
of
in interfaceImmutableListFactory
-
with
- Specified by:
with
in interfaceImmutableListFactory
-
of
Description copied from interface:ImmutableListFactory
- Specified by:
of
in interfaceImmutableListFactory
-
with
- 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)Description copied from interface:ImmutableListFactory
Same asImmutableListFactory.with(Object, Object, Object, Object, Object, Object, Object, Object, Object)
.- 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)Description copied from interface:ImmutableListFactory
- 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
Description copied from interface:ImmutableListFactory
Same asImmutableListFactory.with(Object[])
.- Specified by:
of
in interfaceImmutableListFactory
-
with
- Specified by:
with
in interfaceImmutableListFactory
-
ofAll
Description copied from interface:ImmutableListFactory
- Specified by:
ofAll
in interfaceImmutableListFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableListFactory
-