Class MultiReaderMutableBagFactory
- java.lang.Object
-
- org.eclipse.collections.impl.bag.mutable.MultiReaderMutableBagFactory
-
- All Implemented Interfaces:
MultiReaderBagFactory
public class MultiReaderMutableBagFactory extends Object implements MultiReaderBagFactory
-
-
Field Summary
Fields Modifier and Type Field Description static MultiReaderBagFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MultiReaderMutableBagFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.factory.bag.MultiReaderBagFactory
of, of, ofAll, with
-
-
-
-
Field Detail
-
INSTANCE
public static final MultiReaderBagFactory INSTANCE
-
-
Method Detail
-
empty
public <T> MultiReaderBag<T> empty()
- Specified by:
emptyin interfaceMultiReaderBagFactory
-
with
public <T> MultiReaderBag<T> with(T... items)
- Specified by:
within interfaceMultiReaderBagFactory
-
withAll
public <T> MultiReaderBag<T> withAll(Iterable<? extends T> iterable)
- Specified by:
withAllin interfaceMultiReaderBagFactory
-
fromStream
public <T> MultiReaderBag<T> fromStream(Stream<? extends T> stream)
- Specified by:
fromStreamin interfaceMultiReaderBagFactory
-
-