Class MultiReaderMutableBagFactory
- java.lang.Object
-
- org.eclipse.collections.impl.bag.mutable.MultiReaderMutableBagFactory
-
- All Implemented Interfaces:
MultiReaderBagFactory
public class MultiReaderMutableBagFactory extends java.lang.Object implements MultiReaderBagFactory
-
-
Field Summary
Fields Modifier and Type Field Description static MultiReaderBagFactory
INSTANCE
-
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(java.util.stream.Stream<? extends T> stream)
<T> MultiReaderBag<T>
with(T... items)
<T> MultiReaderBag<T>
withAll(java.lang.Iterable<? extends T> iterable)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, 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:
empty
in interfaceMultiReaderBagFactory
-
with
public <T> MultiReaderBag<T> with(T... items)
- Specified by:
with
in interfaceMultiReaderBagFactory
-
withAll
public <T> MultiReaderBag<T> withAll(java.lang.Iterable<? extends T> iterable)
- Specified by:
withAll
in interfaceMultiReaderBagFactory
-
fromStream
public <T> MultiReaderBag<T> fromStream(java.util.stream.Stream<? extends T> stream)
- Specified by:
fromStream
in interfaceMultiReaderBagFactory
-
-