MutableShortBagFactorypublic enum MutableShortBagFactoryImpl extends java.lang.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(ShortIterable items) |
|
static MutableShortBagFactoryImpl |
valueOf(java.lang.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(ShortIterable items) |
public static final MutableShortBagFactoryImpl INSTANCE
public static MutableShortBagFactoryImpl[] values()
for (MutableShortBagFactoryImpl c : MutableShortBagFactoryImpl.values()) System.out.println(c);
public static MutableShortBagFactoryImpl 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 MutableShortBag empty()
empty in interface MutableShortBagFactorypublic MutableShortBag of()
MutableShortBagFactoryMutableShortBagFactory.empty().of in interface MutableShortBagFactorypublic MutableShortBag with()
MutableShortBagFactoryMutableShortBagFactory.empty().with in interface MutableShortBagFactorypublic MutableShortBag of(short... items)
MutableShortBagFactoryMutableShortBagFactory.with(short[]).of in interface MutableShortBagFactorypublic MutableShortBag with(short... items)
with in interface MutableShortBagFactorypublic MutableShortBag ofAll(ShortIterable items)
MutableShortBagFactoryofAll in interface MutableShortBagFactorypublic MutableShortBag withAll(ShortIterable items)
withAll in interface MutableShortBagFactoryCopyright © 2004–2017. All rights reserved.