MultiReaderMutableBagFactory
public interface MultiReaderBagFactory
MultiReaderBag
.Modifier and Type | Method | Description |
---|---|---|
<T> MultiReaderBag<T> |
empty() |
|
<T> MultiReaderBag<T> |
fromStream(Stream<? extends T> stream) |
|
default <T> MultiReaderBag<T> |
of() |
Same as
empty() . |
default <T> MultiReaderBag<T> |
of(T... elements) |
Same as
with(Object[]) . |
default <T> MultiReaderBag<T> |
ofAll(Iterable<? extends T> items) |
Same as
withAll(Iterable) . |
default <T> MultiReaderBag<T> |
with() |
Same as
empty() . |
<T> MultiReaderBag<T> |
with(T... elements) |
|
<T> MultiReaderBag<T> |
withAll(Iterable<? extends T> items) |
<T> MultiReaderBag<T> empty()
default <T> MultiReaderBag<T> of()
empty()
.default <T> MultiReaderBag<T> with()
empty()
.default <T> MultiReaderBag<T> of(T... elements)
with(Object[])
.<T> MultiReaderBag<T> with(T... elements)
default <T> MultiReaderBag<T> ofAll(Iterable<? extends T> items)
withAll(Iterable)
.<T> MultiReaderBag<T> withAll(Iterable<? extends T> items)
<T> MultiReaderBag<T> fromStream(Stream<? extends T> stream)
Copyright © 2004–2019. All rights reserved.