Serializable
, Comparable<MutableIntBagFactoryImpl>
, MutableIntBagFactory
public enum MutableIntBagFactoryImpl extends 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(Iterable<Integer> iterable) |
Same as
#withAll(IterableInteger) . |
MutableIntBag |
ofAll(IntStream items) |
|
MutableIntBag |
ofAll(IntIterable items) |
|
static MutableIntBagFactoryImpl |
valueOf(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(Iterable<Integer> iterable) |
|
MutableIntBag |
withAll(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(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 MutableIntBag empty()
empty
in interface MutableIntBagFactory
public MutableIntBag of()
MutableIntBagFactory
MutableIntBagFactory.empty()
.of
in interface MutableIntBagFactory
public MutableIntBag with()
MutableIntBagFactory
MutableIntBagFactory.empty()
.with
in interface MutableIntBagFactory
public MutableIntBag of(int... items)
MutableIntBagFactory
MutableIntBagFactory.with(int[])
.of
in interface MutableIntBagFactory
public MutableIntBag with(int... items)
with
in interface MutableIntBagFactory
public MutableIntBag ofAll(IntIterable items)
MutableIntBagFactory
ofAll
in interface MutableIntBagFactory
public MutableIntBag withAll(IntIterable items)
withAll
in interface MutableIntBagFactory
public MutableIntBag ofAll(Iterable<Integer> iterable)
MutableIntBagFactory
#withAll(IterableInteger)
.ofAll
in interface MutableIntBagFactory
public MutableIntBag withAll(Iterable<Integer> iterable)
withAll
in interface MutableIntBagFactory
public MutableIntBag ofAll(IntStream items)
ofAll
in interface MutableIntBagFactory
public MutableIntBag withAll(IntStream items)
withAll
in interface MutableIntBagFactory
Copyright © 2004–2019. All rights reserved.