Class MultiReaderMutableListFactory
java.lang.Object
org.eclipse.collections.impl.list.mutable.MultiReaderMutableListFactory
- All Implemented Interfaces:
MultiReaderListFactory
-
Field Summary
-
Constructor Summary
-
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 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 Details
-
INSTANCE
-
-
Constructor Details
-
MultiReaderMutableListFactory
public MultiReaderMutableListFactory()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceMultiReaderListFactory
-
with
- Specified by:
with
in interfaceMultiReaderListFactory
-
withInitialCapacity
Description copied from interface:MultiReaderListFactory
Same asMultiReaderListFactory.empty()
. but takes in initial capacity.- Specified by:
withInitialCapacity
in interfaceMultiReaderListFactory
-
withAll
- Specified by:
withAll
in interfaceMultiReaderListFactory
-
fromStream
- Specified by:
fromStream
in interfaceMultiReaderListFactory
-
withNValues
- Specified by:
withNValues
in interfaceMultiReaderListFactory
-