public enum MultiReaderMutableSetFactory extends Enum<MultiReaderMutableSetFactory> implements MultiReaderSetFactory
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T> MultiReaderSet<T> |
empty() |
<T> MultiReaderSet<T> |
fromStream(Stream<? extends T> stream) |
static MultiReaderMutableSetFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultiReaderMutableSetFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<T> MultiReaderSet<T> |
with(T... items) |
<T> MultiReaderSet<T> |
withAll(Iterable<? extends T> iterable) |
<T> MultiReaderSet<T> |
withInitialCapacity(int capacity) |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfof, of, ofAll, ofInitialCapacity, withpublic static final MultiReaderMutableSetFactory INSTANCE
public static MultiReaderMutableSetFactory[] values()
for (MultiReaderMutableSetFactory c : MultiReaderMutableSetFactory.values()) System.out.println(c);
public static MultiReaderMutableSetFactory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic <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–2021. All rights reserved.