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