Class MultiReaderMutableSetFactory
- java.lang.Object
-
- org.eclipse.collections.impl.set.mutable.MultiReaderMutableSetFactory
-
- All Implemented Interfaces:
MultiReaderSetFactory
public class MultiReaderMutableSetFactory extends Object implements MultiReaderSetFactory
-
-
Field Summary
Fields Modifier and Type Field Description static MultiReaderSetFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MultiReaderMutableSetFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> MultiReaderSet<T>empty()<T> MultiReaderSet<T>fromStream(Stream<? extends T> stream)<T> MultiReaderSet<T>with(T... items)<T> MultiReaderSet<T>withAll(Iterable<? extends T> iterable)<T> MultiReaderSet<T>withInitialCapacity(int capacity)-
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 Detail
-
INSTANCE
public static final MultiReaderSetFactory INSTANCE
-
-
Method Detail
-
empty
public <T> MultiReaderSet<T> empty()
- Specified by:
emptyin interfaceMultiReaderSetFactory
-
with
public <T> MultiReaderSet<T> with(T... items)
- Specified by:
within interfaceMultiReaderSetFactory
-
withInitialCapacity
public <T> MultiReaderSet<T> withInitialCapacity(int capacity)
- Specified by:
withInitialCapacityin interfaceMultiReaderSetFactory
-
withAll
public <T> MultiReaderSet<T> withAll(Iterable<? extends T> iterable)
- Specified by:
withAllin interfaceMultiReaderSetFactory
-
fromStream
public <T> MultiReaderSet<T> fromStream(Stream<? extends T> stream)
- Specified by:
fromStreamin interfaceMultiReaderSetFactory
-
-