public enum MultiReaderMutableBagFactory extends Enum<MultiReaderMutableBagFactory> implements MutableBagFactory
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T> MutableBag<T> |
empty() |
<T> MutableBag<T> |
of() |
<T> MutableBag<T> |
of(T... items) |
<T> MutableBag<T> |
ofAll(Iterable<? extends T> iterable) |
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> MutableBag<T> |
with() |
<T> MutableBag<T> |
with(T... items) |
<T> MutableBag<T> |
withAll(Iterable<? extends T> iterable) |
public 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> MutableBag<T> empty()
empty in interface MutableBagFactorypublic <T> MutableBag<T> of()
of in interface MutableBagFactorypublic <T> MutableBag<T> with()
with in interface MutableBagFactorypublic <T> MutableBag<T> of(T... items)
of in interface MutableBagFactorypublic <T> MutableBag<T> with(T... items)
with in interface MutableBagFactorypublic <T> MutableBag<T> ofAll(Iterable<? extends T> iterable)
ofAll in interface MutableBagFactorypublic <T> MutableBag<T> withAll(Iterable<? extends T> iterable)
withAll in interface MutableBagFactoryCopyright © 2004–2018. All rights reserved.