public class MultiReaderMutableBagFactory extends Object implements MultiReaderBagFactory
| Modifier and Type | Field and Description |
|---|---|
static MultiReaderBagFactory |
INSTANCE |
| Constructor and Description |
|---|
MultiReaderMutableBagFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T> MultiReaderBag<T> |
empty() |
<T> MultiReaderBag<T> |
fromStream(Stream<? extends T> stream) |
<T> MultiReaderBag<T> |
with(T... items) |
<T> MultiReaderBag<T> |
withAll(Iterable<? extends T> iterable) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitof, of, ofAll, withpublic static final MultiReaderBagFactory INSTANCE
public <T> MultiReaderBag<T> empty()
empty in interface MultiReaderBagFactorypublic <T> MultiReaderBag<T> with(T... items)
with in interface MultiReaderBagFactorypublic <T> MultiReaderBag<T> withAll(Iterable<? extends T> iterable)
withAll in interface MultiReaderBagFactorypublic <T> MultiReaderBag<T> fromStream(Stream<? extends T> stream)
fromStream in interface MultiReaderBagFactoryCopyright © 2004–2022. All rights reserved.