Class MutableBagFactoryImpl
java.lang.Object
org.eclipse.collections.impl.bag.mutable.MutableBagFactoryImpl
- All Implemented Interfaces:
MutableBagFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> MutableBag<T>empty()<T> MutableBag<T>fromStream(Stream<? extends T> stream) <T> MutableBag<T>with(T... elements) <T> MutableBag<T><T> MutableBag<T>withInitialCapacity(int capacity) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.factory.bag.MutableBagFactory
of, of, ofAll, ofInitialCapacity, ofOccurrences, ofOccurrences, ofOccurrences, ofOccurrences, ofOccurrences, with, withOccurrences, withOccurrences, withOccurrences, withOccurrences, withOccurrences
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableBagFactoryImpl
public MutableBagFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableBagFactory
-
with
- Specified by:
within interfaceMutableBagFactory
-
withAll
- Specified by:
withAllin interfaceMutableBagFactory
-
fromStream
- Specified by:
fromStreamin interfaceMutableBagFactory
-
withInitialCapacity
- Specified by:
withInitialCapacityin interfaceMutableBagFactory
-