Class ImmutableListFactoryImpl
java.lang.Object
org.eclipse.collections.impl.list.immutable.ImmutableListFactoryImpl
- All Implemented Interfaces:
ImmutableListFactory
-
Field Summary
-
Constructor Summary
-
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, wait
Methods inherited from interface org.eclipse.collections.api.factory.list.ImmutableListFactory
fromStream
-
Field Details
-
INSTANCE
-
-
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
-
withAllSorted
- Specified by:
withAllSorted
in interfaceImmutableListFactory
-
withAllSorted
public <T> ImmutableList<T> withAllSorted(Comparator<? super T> comparator, RichIterable<? extends T> items) - Specified by:
withAllSorted
in interfaceImmutableListFactory
-