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 FixedSizeListFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description FixedSizeListFactoryImpl()
-
Method Summary
Modifier and Type Method Description <T> FixedSizeList<T>
empty()
<T> FixedSizeList<T>
fromStream(Stream<? extends T> stream)
<T> FixedSizeList<T>
of()
Same asFixedSizeListFactory.empty()
.<T> FixedSizeList<T>
of(T one)
Same asFixedSizeListFactory.with(Object)
.<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()
Same asFixedSizeListFactory.empty()
.<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 Details
-
Constructor Details
-
FixedSizeListFactoryImpl
public FixedSizeListFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceFixedSizeListFactory
-
of
Description copied from interface:FixedSizeListFactory
Same asFixedSizeListFactory.empty()
.- Specified by:
of
in interfaceFixedSizeListFactory
-
with
Description copied from interface:FixedSizeListFactory
Same asFixedSizeListFactory.empty()
.- Specified by:
with
in interfaceFixedSizeListFactory
-
of
Description copied from interface:FixedSizeListFactory
Same asFixedSizeListFactory.with(Object)
.- Specified by:
of
in interfaceFixedSizeListFactory
-
with
- Specified by:
with
in interfaceFixedSizeListFactory
-
of
Description copied from interface:FixedSizeListFactory
- Specified by:
of
in interfaceFixedSizeListFactory
-
with
- Specified by:
with
in interfaceFixedSizeListFactory
-
of
Description copied from interface:FixedSizeListFactory
- Specified by:
of
in interfaceFixedSizeListFactory
-
with
- Specified by:
with
in interfaceFixedSizeListFactory
-
of
Description copied from interface:FixedSizeListFactory
- Specified by:
of
in interfaceFixedSizeListFactory
-
with
- Specified by:
with
in interfaceFixedSizeListFactory
-
of
Description copied from interface:FixedSizeListFactory
- Specified by:
of
in interfaceFixedSizeListFactory
-
with
- Specified by:
with
in interfaceFixedSizeListFactory
-
of
Description copied from interface:FixedSizeListFactory
- Specified by:
of
in interfaceFixedSizeListFactory
-
with
- Specified by:
with
in interfaceFixedSizeListFactory
-
of
Description copied from interface:FixedSizeListFactory
- Specified by:
of
in interfaceFixedSizeListFactory
-
with
- Specified by:
with
in interfaceFixedSizeListFactory
-
ofAll
Description copied from interface:FixedSizeListFactory
- Specified by:
ofAll
in interfaceFixedSizeListFactory
-
withAll
- Specified by:
withAll
in interfaceFixedSizeListFactory
-
fromStream
- Specified by:
fromStream
in interfaceFixedSizeListFactory
-