Serializable
, Comparable<MutableShortBagFactoryImpl>
, MutableShortBagFactory
public enum MutableShortBagFactoryImpl extends Enum<MutableShortBagFactoryImpl> implements MutableShortBagFactory
MutableShortBag
.
This file was automatically generated from template file mutablePrimitiveBagFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
MutableShortBag |
empty() |
|
MutableShortBag |
of() |
Same as
MutableShortBagFactory.empty() . |
MutableShortBag |
of(short... items) |
Same as
MutableShortBagFactory.with(short[]) . |
MutableShortBag |
ofAll(Iterable<Short> iterable) |
Same as
#withAll(IterableShort) . |
MutableShortBag |
ofAll(ShortIterable items) |
|
static MutableShortBagFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MutableShortBagFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableShortBag |
with() |
Same as
MutableShortBagFactory.empty() . |
MutableShortBag |
with(short... items) |
|
MutableShortBag |
withAll(Iterable<Short> iterable) |
|
MutableShortBag |
withAll(ShortIterable items) |
public static final MutableShortBagFactoryImpl INSTANCE
public static MutableShortBagFactoryImpl[] values()
for (MutableShortBagFactoryImpl c : MutableShortBagFactoryImpl.values()) System.out.println(c);
public static MutableShortBagFactoryImpl 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 MutableShortBag empty()
empty
in interface MutableShortBagFactory
public MutableShortBag of()
MutableShortBagFactory
MutableShortBagFactory.empty()
.of
in interface MutableShortBagFactory
public MutableShortBag with()
MutableShortBagFactory
MutableShortBagFactory.empty()
.with
in interface MutableShortBagFactory
public MutableShortBag of(short... items)
MutableShortBagFactory
MutableShortBagFactory.with(short[])
.of
in interface MutableShortBagFactory
public MutableShortBag with(short... items)
with
in interface MutableShortBagFactory
public MutableShortBag ofAll(ShortIterable items)
MutableShortBagFactory
ofAll
in interface MutableShortBagFactory
public MutableShortBag withAll(ShortIterable items)
withAll
in interface MutableShortBagFactory
public MutableShortBag ofAll(Iterable<Short> iterable)
MutableShortBagFactory
#withAll(IterableShort)
.ofAll
in interface MutableShortBagFactory
public MutableShortBag withAll(Iterable<Short> iterable)
withAll
in interface MutableShortBagFactory
Copyright © 2004–2019. All rights reserved.