Class MultiReaderMutableSetFactory
java.lang.Object
org.eclipse.collections.impl.set.mutable.MultiReaderMutableSetFactory
- All Implemented Interfaces:
MultiReaderSetFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> MultiReaderSet<T>empty()<T> MultiReaderSet<T>fromStream(Stream<? extends T> stream) <T> MultiReaderSet<T>with(T... items) <T> MultiReaderSet<T><T> MultiReaderSet<T>withInitialCapacity(int capacity) Same asMultiReaderSetFactory.empty().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.MultiReaderSetFactory
of, of, ofAll, ofInitialCapacity, with
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MultiReaderMutableSetFactory
public MultiReaderMutableSetFactory()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMultiReaderSetFactory
-
with
- Specified by:
within interfaceMultiReaderSetFactory
-
withInitialCapacity
Description copied from interface:MultiReaderSetFactorySame asMultiReaderSetFactory.empty(). but takes in initial capacity.- Specified by:
withInitialCapacityin interfaceMultiReaderSetFactory
-
withAll
- Specified by:
withAllin interfaceMultiReaderSetFactory
-
fromStream
- Specified by:
fromStreamin interfaceMultiReaderSetFactory
-