public class MultiReaderMutableListFactory extends Object implements MultiReaderListFactory
| Modifier and Type | Field and Description |
|---|---|
static MultiReaderListFactory |
INSTANCE |
| Constructor and Description |
|---|
MultiReaderMutableListFactory() |
| Modifier and Type | Method and 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) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitof, of, ofAll, ofInitialCapacity, withpublic static final MultiReaderListFactory INSTANCE
public <T> MultiReaderList<T> empty()
empty in interface MultiReaderListFactorypublic <T> MultiReaderList<T> with(T... items)
with in interface MultiReaderListFactorypublic <T> MultiReaderList<T> withInitialCapacity(int capacity)
withInitialCapacity in interface MultiReaderListFactorypublic <T> MultiReaderList<T> withAll(Iterable<? extends T> iterable)
withAll in interface MultiReaderListFactorypublic <T> MultiReaderList<T> fromStream(Stream<? extends T> stream)
fromStream in interface MultiReaderListFactorypublic <T> MultiReaderList<T> withNValues(int size, Function0<? extends T> factory)
withNValues in interface MultiReaderListFactoryCopyright © 2004–2022. All rights reserved.