Class FixedSizeListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.fixed.FixedSizeListFactoryImpl
-
- All Implemented Interfaces:
FixedSizeListFactory
public class FixedSizeListFactoryImpl extends Object implements FixedSizeListFactory
-
-
Field Summary
Fields Modifier and Type Field Description static FixedSizeListFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description FixedSizeListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> FixedSizeList<T>empty()<T> FixedSizeList<T>fromStream(Stream<? extends T> stream)<T> FixedSizeList<T>of()<T> FixedSizeList<T>of(T one)<T> FixedSizeList<T>of(T... items)<T> FixedSizeList<T>of(T one, T two)<T> FixedSizeList<T>of(T one, T two, T three)<T> FixedSizeList<T>of(T one, T two, T three, T four)<T> FixedSizeList<T>of(T one, T two, T three, T four, T five)<T> FixedSizeList<T>of(T one, T two, T three, T four, T five, T six)<T> FixedSizeList<T>ofAll(Iterable<? extends T> items)<T> FixedSizeList<T>with()<T> FixedSizeList<T>with(T one)<T> FixedSizeList<T>with(T... items)<T> FixedSizeList<T>with(T one, T two)<T> FixedSizeList<T>with(T one, T two, T three)<T> FixedSizeList<T>with(T one, T two, T three, T four)<T> FixedSizeList<T>with(T one, T two, T three, T four, T five)<T> FixedSizeList<T>with(T one, T two, T three, T four, T five, T six)<T> FixedSizeList<T>withAll(Iterable<? extends T> items)
-
-
-
Field Detail
-
INSTANCE
public static final FixedSizeListFactory INSTANCE
-
-
Method Detail
-
empty
public <T> FixedSizeList<T> empty()
- Specified by:
emptyin interfaceFixedSizeListFactory
-
of
public <T> FixedSizeList<T> of()
- Specified by:
ofin interfaceFixedSizeListFactory
-
with
public <T> FixedSizeList<T> with()
- Specified by:
within interfaceFixedSizeListFactory
-
of
public <T> FixedSizeList<T> of(T one)
- Specified by:
ofin interfaceFixedSizeListFactory
-
with
public <T> FixedSizeList<T> with(T one)
- Specified by:
within interfaceFixedSizeListFactory
-
of
public <T> FixedSizeList<T> of(T one, T two)
- Specified by:
ofin interfaceFixedSizeListFactory
-
with
public <T> FixedSizeList<T> with(T one, T two)
- Specified by:
within interfaceFixedSizeListFactory
-
of
public <T> FixedSizeList<T> of(T one, T two, T three)
- Specified by:
ofin interfaceFixedSizeListFactory
-
with
public <T> FixedSizeList<T> with(T one, T two, T three)
- Specified by:
within interfaceFixedSizeListFactory
-
of
public <T> FixedSizeList<T> of(T one, T two, T three, T four)
- Specified by:
ofin interfaceFixedSizeListFactory
-
with
public <T> FixedSizeList<T> with(T one, T two, T three, T four)
- Specified by:
within interfaceFixedSizeListFactory
-
of
public <T> FixedSizeList<T> of(T one, T two, T three, T four, T five)
- Specified by:
ofin interfaceFixedSizeListFactory
-
with
public <T> FixedSizeList<T> with(T one, T two, T three, T four, T five)
- Specified by:
within interfaceFixedSizeListFactory
-
of
public <T> FixedSizeList<T> of(T one, T two, T three, T four, T five, T six)
- Specified by:
ofin interfaceFixedSizeListFactory
-
with
public <T> FixedSizeList<T> with(T one, T two, T three, T four, T five, T six)
- Specified by:
within interfaceFixedSizeListFactory
-
of
public <T> FixedSizeList<T> of(T... items)
- Specified by:
ofin interfaceFixedSizeListFactory
-
with
public <T> FixedSizeList<T> with(T... items)
- Specified by:
within interfaceFixedSizeListFactory
-
ofAll
public <T> FixedSizeList<T> ofAll(Iterable<? extends T> items)
- Specified by:
ofAllin interfaceFixedSizeListFactory
-
withAll
public <T> FixedSizeList<T> withAll(Iterable<? extends T> items)
- Specified by:
withAllin interfaceFixedSizeListFactory
-
fromStream
public <T> FixedSizeList<T> fromStream(Stream<? extends T> stream)
- Specified by:
fromStreamin interfaceFixedSizeListFactory
-
-