java.io.Serializable, java.lang.Comparable<MultiReaderMutableBagFactory>, MultiReaderBagFactorypublic enum MultiReaderMutableBagFactory extends java.lang.Enum<MultiReaderMutableBagFactory> implements MultiReaderBagFactory
| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
<T> MultiReaderBag<T> |
empty() |
|
<T> MultiReaderBag<T> |
fromStream(java.util.stream.Stream<? extends T> stream) |
|
static MultiReaderMutableBagFactory |
valueOf(java.lang.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(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - 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(java.lang.Iterable<? extends T> iterable)
withAll in interface MultiReaderBagFactorypublic <T> MultiReaderBag<T> fromStream(java.util.stream.Stream<? extends T> stream)
fromStream in interface MultiReaderBagFactoryCopyright © 2004–2020. All rights reserved.