public interface MultiReaderListFactory
MultiReaderList.| Modifier and Type | Method and Description |
|---|---|
<T> MultiReaderList<T> |
empty() |
<T> MultiReaderList<T> |
fromStream(Stream<? extends T> stream) |
default <T> MultiReaderList<T> |
of()
Same as
empty(). |
default <T> MultiReaderList<T> |
of(T... items)
Same as
with(Object[]). |
default <T> MultiReaderList<T> |
ofAll(Iterable<? extends T> iterable)
Same as
withAll(Iterable). |
default <T> MultiReaderList<T> |
ofInitialCapacity(int capacity)
Same as
empty(). |
default <T> MultiReaderList<T> |
with()
Same as
empty(). |
<T> MultiReaderList<T> |
with(T... items) |
<T> MultiReaderList<T> |
withAll(Iterable<? extends T> iterable) |
<T> MultiReaderList<T> |
withInitialCapacity(int capacity)
Same as
empty(). |
<T> MultiReaderList<T> |
withNValues(int size,
Function0<? extends T> factory) |
<T> MultiReaderList<T> empty()
default <T> MultiReaderList<T> of()
empty().default <T> MultiReaderList<T> with()
empty().default <T> MultiReaderList<T> of(T... items)
with(Object[]).<T> MultiReaderList<T> with(T... items)
default <T> MultiReaderList<T> ofInitialCapacity(int capacity)
empty(). but takes in initial capacity.<T> MultiReaderList<T> withInitialCapacity(int capacity)
empty(). but takes in initial capacity.default <T> MultiReaderList<T> ofAll(Iterable<? extends T> iterable)
withAll(Iterable).<T> MultiReaderList<T> withAll(Iterable<? extends T> iterable)
<T> MultiReaderList<T> fromStream(Stream<? extends T> stream)
<T> MultiReaderList<T> withNValues(int size, Function0<? extends T> factory)
Copyright © 2004–2023. All rights reserved.