Interface MultiReaderBagFactory
- All Known Implementing Classes:
MultiReaderMutableBagFactory
public interface MultiReaderBagFactory
A factory which creates instances of type
MultiReaderBag.- Since:
- 10.0.
-
Method Summary
Modifier and TypeMethodDescription<T> MultiReaderBag<T> empty()<T> MultiReaderBag<T> fromStream(Stream<? extends T> stream) default <T> MultiReaderBag<T> of()Same asempty().default <T> MultiReaderBag<T> of(T... elements) Same aswith(Object[]).default <T> MultiReaderBag<T> Same aswithAll(Iterable).default <T> MultiReaderBag<T> with()Same asempty().<T> MultiReaderBag<T> with(T... elements) <T> MultiReaderBag<T>
-
Method Details
-
empty
-
of
Same asempty(). -
with
Same asempty(). -
of
Same aswith(Object[]). -
with
-
ofAll
Same aswithAll(Iterable). -
withAll
-
fromStream
-