public class MultiReaderMutableSetFactory extends Object implements MultiReaderSetFactory
| Modifier and Type | Field and Description |
|---|---|
static MultiReaderSetFactory |
INSTANCE |
| Constructor and Description |
|---|
MultiReaderMutableSetFactory() |
| Modifier and Type | Method and 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) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitof, of, ofAll, ofInitialCapacity, withpublic static final MultiReaderSetFactory INSTANCE
public <T> MultiReaderSet<T> empty()
empty in interface MultiReaderSetFactorypublic <T> MultiReaderSet<T> with(T... items)
with in interface MultiReaderSetFactorypublic <T> MultiReaderSet<T> withInitialCapacity(int capacity)
withInitialCapacity in interface MultiReaderSetFactorypublic <T> MultiReaderSet<T> withAll(Iterable<? extends T> iterable)
withAll in interface MultiReaderSetFactorypublic <T> MultiReaderSet<T> fromStream(Stream<? extends T> stream)
fromStream in interface MultiReaderSetFactoryCopyright © 2004–2022. All rights reserved.