Class MutableSetFactoryImpl
java.lang.Object
org.eclipse.collections.impl.set.mutable.MutableSetFactoryImpl
- All Implemented Interfaces:
MutableSetFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> MutableSet<T>empty()<T> MutableSet<T>fromStream(Stream<? extends T> stream) <T> MutableSet<T>with(T... items) <T> MutableSet<T><T> MutableSet<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.set.MutableSetFactory
of, of, ofAll, ofInitialCapacity, with
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableSetFactoryImpl
public MutableSetFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableSetFactory
-
withInitialCapacity
- Specified by:
withInitialCapacityin interfaceMutableSetFactory
-
with
- Specified by:
within interfaceMutableSetFactory
-
withAll
- Specified by:
withAllin interfaceMutableSetFactory
-
fromStream
- Specified by:
fromStreamin interfaceMutableSetFactory
-