ImmutableShortBagFactorypublic enum ImmutableShortBagFactoryImpl extends java.lang.Enum<ImmutableShortBagFactoryImpl> implements ImmutableShortBagFactory
ImmutableShortBag.
This file was automatically generated from template file immutablePrimitiveBagFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableShortBag |
empty() |
|
ImmutableShortBag |
of() |
Same as
ImmutableShortBagFactory.empty(). |
ImmutableShortBag |
of(short one) |
Same as
ImmutableShortBagFactory.with(short). |
ImmutableShortBag |
of(short... items) |
|
ImmutableShortBag |
ofAll(ShortIterable items) |
|
static ImmutableShortBagFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableShortBagFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableShortBag |
with() |
Same as
ImmutableShortBagFactory.empty(). |
ImmutableShortBag |
with(short one) |
|
ImmutableShortBag |
with(short... items) |
|
ImmutableShortBag |
withAll(ShortIterable items) |
public static final ImmutableShortBagFactoryImpl INSTANCE
public static ImmutableShortBagFactoryImpl[] values()
for (ImmutableShortBagFactoryImpl c : ImmutableShortBagFactoryImpl.values()) System.out.println(c);
public static ImmutableShortBagFactoryImpl 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 ImmutableShortBag empty()
empty in interface ImmutableShortBagFactorypublic ImmutableShortBag of()
ImmutableShortBagFactoryImmutableShortBagFactory.empty().of in interface ImmutableShortBagFactorypublic ImmutableShortBag with()
ImmutableShortBagFactoryImmutableShortBagFactory.empty().with in interface ImmutableShortBagFactorypublic ImmutableShortBag of(short one)
ImmutableShortBagFactoryImmutableShortBagFactory.with(short).of in interface ImmutableShortBagFactorypublic ImmutableShortBag with(short one)
with in interface ImmutableShortBagFactorypublic ImmutableShortBag of(short... items)
ImmutableShortBagFactoryof in interface ImmutableShortBagFactorypublic ImmutableShortBag with(short... items)
with in interface ImmutableShortBagFactorypublic ImmutableShortBag ofAll(ShortIterable items)
ImmutableShortBagFactoryofAll in interface ImmutableShortBagFactorypublic ImmutableShortBag withAll(ShortIterable items)
withAll in interface ImmutableShortBagFactoryCopyright © 2004–2017. All rights reserved.