Class MultiReaderMutableSetFactory
java.lang.Object
org.eclipse.collections.impl.set.mutable.MultiReaderMutableSetFactory
- All Implemented Interfaces:
MultiReaderSetFactory
-
Field Summary
-
Constructor Summary
-
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, wait
Methods 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:
empty
in interfaceMultiReaderSetFactory
-
with
- Specified by:
with
in interfaceMultiReaderSetFactory
-
withInitialCapacity
Description copied from interface:MultiReaderSetFactory
Same asMultiReaderSetFactory.empty()
. but takes in initial capacity.- Specified by:
withInitialCapacity
in interfaceMultiReaderSetFactory
-
withAll
- Specified by:
withAll
in interfaceMultiReaderSetFactory
-
fromStream
- Specified by:
fromStream
in interfaceMultiReaderSetFactory
-