public enum ImmutableShortBagFactoryImpl extends Enum<ImmutableShortBagFactoryImpl> implements ImmutableShortBagFactory
ImmutableShortBag.
This file was automatically generated from template file immutablePrimitiveBagFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ImmutableShortBag |
empty() |
ImmutableShortBag |
of() |
ImmutableShortBag |
of(short... items) |
ImmutableShortBag |
of(short one) |
ImmutableShortBag |
ofAll(Iterable<Short> iterable) |
ImmutableShortBag |
ofAll(ShortIterable items) |
static ImmutableShortBagFactoryImpl |
valueOf(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() |
ImmutableShortBag |
with(short... items) |
ImmutableShortBag |
with(short one) |
ImmutableShortBag |
withAll(Iterable<Short> iterable) |
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(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 ImmutableShortBag empty()
empty in interface ImmutableShortBagFactorypublic ImmutableShortBag of()
of in interface ImmutableShortBagFactorypublic ImmutableShortBag with()
with in interface ImmutableShortBagFactorypublic ImmutableShortBag of(short one)
of in interface ImmutableShortBagFactorypublic ImmutableShortBag with(short one)
with in interface ImmutableShortBagFactorypublic ImmutableShortBag of(short... items)
of in interface ImmutableShortBagFactorypublic ImmutableShortBag with(short... items)
with in interface ImmutableShortBagFactorypublic ImmutableShortBag ofAll(ShortIterable items)
ofAll in interface ImmutableShortBagFactorypublic ImmutableShortBag withAll(ShortIterable items)
withAll in interface ImmutableShortBagFactorypublic ImmutableShortBag ofAll(Iterable<Short> iterable)
ofAll in interface ImmutableShortBagFactorypublic ImmutableShortBag withAll(Iterable<Short> iterable)
withAll in interface ImmutableShortBagFactoryCopyright © 2004–2021. All rights reserved.