java.io.Serializable, java.lang.Comparable<MutableIntBagFactoryImpl>, MutableIntBagFactorypublic enum MutableIntBagFactoryImpl extends java.lang.Enum<MutableIntBagFactoryImpl> implements MutableIntBagFactory
MutableIntBag.
This file was automatically generated from template file mutablePrimitiveBagFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
MutableIntBag |
empty() |
|
MutableIntBag |
of() |
Same as
MutableIntBagFactory.empty(). |
MutableIntBag |
of(int... items) |
Same as
MutableIntBagFactory.with(int[]). |
MutableIntBag |
ofAll(java.lang.Iterable<java.lang.Integer> iterable) |
Same as
#withAll(IterableInteger). |
MutableIntBag |
ofAll(java.util.stream.IntStream items) |
|
MutableIntBag |
ofAll(IntIterable items) |
|
static MutableIntBagFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MutableIntBagFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableIntBag |
with() |
Same as
MutableIntBagFactory.empty(). |
MutableIntBag |
with(int... items) |
|
MutableIntBag |
withAll(java.lang.Iterable<java.lang.Integer> iterable) |
|
MutableIntBag |
withAll(java.util.stream.IntStream items) |
|
MutableIntBag |
withAll(IntIterable items) |
public static final MutableIntBagFactoryImpl INSTANCE
public static MutableIntBagFactoryImpl[] values()
for (MutableIntBagFactoryImpl c : MutableIntBagFactoryImpl.values()) System.out.println(c);
public static MutableIntBagFactoryImpl 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 MutableIntBag empty()
empty in interface MutableIntBagFactorypublic MutableIntBag of()
MutableIntBagFactoryMutableIntBagFactory.empty().of in interface MutableIntBagFactorypublic MutableIntBag with()
MutableIntBagFactoryMutableIntBagFactory.empty().with in interface MutableIntBagFactorypublic MutableIntBag of(int... items)
MutableIntBagFactoryMutableIntBagFactory.with(int[]).of in interface MutableIntBagFactorypublic MutableIntBag with(int... items)
with in interface MutableIntBagFactorypublic MutableIntBag ofAll(IntIterable items)
MutableIntBagFactoryofAll in interface MutableIntBagFactorypublic MutableIntBag withAll(IntIterable items)
withAll in interface MutableIntBagFactorypublic MutableIntBag ofAll(java.lang.Iterable<java.lang.Integer> iterable)
MutableIntBagFactory#withAll(IterableInteger).ofAll in interface MutableIntBagFactorypublic MutableIntBag withAll(java.lang.Iterable<java.lang.Integer> iterable)
withAll in interface MutableIntBagFactorypublic MutableIntBag ofAll(java.util.stream.IntStream items)
ofAll in interface MutableIntBagFactorypublic MutableIntBag withAll(java.util.stream.IntStream items)
withAll in interface MutableIntBagFactoryCopyright © 2004–2020. All rights reserved.