Serializable
, Comparable<ImmutableShortBagFactoryImpl>
, ImmutableShortBagFactory
public enum ImmutableShortBagFactoryImpl extends 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(Iterable<Short> iterable) |
Same as
#withAll(IterableShort) . |
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() |
Same as
ImmutableShortBagFactory.empty() . |
ImmutableShortBag |
with(short one) |
|
ImmutableShortBag |
with(short... items) |
|
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 ImmutableShortBagFactory
public ImmutableShortBag of()
ImmutableShortBagFactory
ImmutableShortBagFactory.empty()
.of
in interface ImmutableShortBagFactory
public ImmutableShortBag with()
ImmutableShortBagFactory
ImmutableShortBagFactory.empty()
.with
in interface ImmutableShortBagFactory
public ImmutableShortBag of(short one)
ImmutableShortBagFactory
ImmutableShortBagFactory.with(short)
.of
in interface ImmutableShortBagFactory
public ImmutableShortBag with(short one)
with
in interface ImmutableShortBagFactory
public ImmutableShortBag of(short... items)
ImmutableShortBagFactory
of
in interface ImmutableShortBagFactory
public ImmutableShortBag with(short... items)
with
in interface ImmutableShortBagFactory
public ImmutableShortBag ofAll(ShortIterable items)
ImmutableShortBagFactory
ofAll
in interface ImmutableShortBagFactory
public ImmutableShortBag withAll(ShortIterable items)
withAll
in interface ImmutableShortBagFactory
public ImmutableShortBag ofAll(Iterable<Short> iterable)
ImmutableShortBagFactory
#withAll(IterableShort)
.ofAll
in interface ImmutableShortBagFactory
public ImmutableShortBag withAll(Iterable<Short> iterable)
withAll
in interface ImmutableShortBagFactory
Copyright © 2004–2019. All rights reserved.