Class MultiReaderMutableListFactory
- java.lang.Object
-
- org.eclipse.collections.impl.list.mutable.MultiReaderMutableListFactory
-
- All Implemented Interfaces:
MultiReaderListFactory
public class MultiReaderMutableListFactory extends Object implements MultiReaderListFactory
-
-
Field Summary
Fields Modifier and Type Field Description static MultiReaderListFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MultiReaderMutableListFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> MultiReaderList<T>empty()<T> MultiReaderList<T>fromStream(Stream<? extends T> stream)<T> MultiReaderList<T>with(T... items)<T> MultiReaderList<T>withAll(Iterable<? extends T> iterable)<T> MultiReaderList<T>withInitialCapacity(int capacity)<T> MultiReaderList<T>withNValues(int size, Function0<? extends T> factory)-
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.MultiReaderListFactory
of, of, ofAll, ofInitialCapacity, with
-
-
-
-
Field Detail
-
INSTANCE
public static final MultiReaderListFactory INSTANCE
-
-
Method Detail
-
empty
public <T> MultiReaderList<T> empty()
- Specified by:
emptyin interfaceMultiReaderListFactory
-
with
public <T> MultiReaderList<T> with(T... items)
- Specified by:
within interfaceMultiReaderListFactory
-
withInitialCapacity
public <T> MultiReaderList<T> withInitialCapacity(int capacity)
- Specified by:
withInitialCapacityin interfaceMultiReaderListFactory
-
withAll
public <T> MultiReaderList<T> withAll(Iterable<? extends T> iterable)
- Specified by:
withAllin interfaceMultiReaderListFactory
-
fromStream
public <T> MultiReaderList<T> fromStream(Stream<? extends T> stream)
- Specified by:
fromStreamin interfaceMultiReaderListFactory
-
withNValues
public <T> MultiReaderList<T> withNValues(int size, Function0<? extends T> factory)
- Specified by:
withNValuesin interfaceMultiReaderListFactory
-
-