Class MultiReaderMutableListFactory
java.lang.Object
org.eclipse.collections.impl.list.mutable.MultiReaderMutableListFactory
- All Implemented Interfaces:
MultiReaderListFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> MultiReaderList<T> empty()<T> MultiReaderList<T> fromStream(Stream<? extends T> stream) <T> MultiReaderList<T> with(T... items) <T> MultiReaderList<T> <T> MultiReaderList<T> withInitialCapacity(int capacity) Same asMultiReaderListFactory.empty().<T> MultiReaderList<T> withNValues(int size, Function0<? extends T> factory) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MultiReaderListFactory
of, of, ofAll, ofInitialCapacity, with
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MultiReaderMutableListFactory
public MultiReaderMutableListFactory()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMultiReaderListFactory
-
with
- Specified by:
within interfaceMultiReaderListFactory
-
withInitialCapacity
Description copied from interface:MultiReaderListFactorySame asMultiReaderListFactory.empty(). but takes in initial capacity.- Specified by:
withInitialCapacityin interfaceMultiReaderListFactory
-
withAll
- Specified by:
withAllin interfaceMultiReaderListFactory
-
fromStream
- Specified by:
fromStreamin interfaceMultiReaderListFactory
-
withNValues
- Specified by:
withNValuesin interfaceMultiReaderListFactory
-