public enum MultiReaderMutableBagFactory extends Enum<MultiReaderMutableBagFactory> implements MultiReaderBagFactory
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T> MultiReaderBag<T> |
empty() |
<T> MultiReaderBag<T> |
fromStream(Stream<? extends T> stream) |
static MultiReaderMutableBagFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultiReaderMutableBagFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<T> MultiReaderBag<T> |
with(T... items) |
<T> MultiReaderBag<T> |
withAll(Iterable<? extends T> iterable) |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfof, of, ofAll, withpublic static final MultiReaderMutableBagFactory INSTANCE
public static MultiReaderMutableBagFactory[] values()
for (MultiReaderMutableBagFactory c : MultiReaderMutableBagFactory.values()) System.out.println(c);
public static MultiReaderMutableBagFactory 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> MultiReaderBag<T> empty()
empty in interface MultiReaderBagFactorypublic <T> MultiReaderBag<T> with(T... items)
with in interface MultiReaderBagFactorypublic <T> MultiReaderBag<T> withAll(Iterable<? extends T> iterable)
withAll in interface MultiReaderBagFactorypublic <T> MultiReaderBag<T> fromStream(Stream<? extends T> stream)
fromStream in interface MultiReaderBagFactoryCopyright © 2004–2021. All rights reserved.