Enum ImmutableShortListFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableShortListFactoryImpl>
org.eclipse.collections.impl.list.immutable.primitive.ImmutableShortListFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableShortListFactoryImpl>
,java.lang.constant.Constable
,ImmutableShortListFactory
public enum ImmutableShortListFactoryImpl extends Enum<ImmutableShortListFactoryImpl> implements ImmutableShortListFactory
ImmutableShortListFactoryImpl is a factory implementation which creates instances of type
ImmutableShortList
.
This file was automatically generated from template file immutablePrimitiveListFactoryImpl.stg.- Since:
- 3.2.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
Modifier and Type Method Description ImmutableShortList
empty()
ImmutableShortList
of()
Same asImmutableShortListFactory.empty()
.ImmutableShortList
of(short one)
ImmutableShortList
of(short... items)
ImmutableShortList
ofAll(Iterable<Short> iterable)
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 asImmutableShortListFactory.empty()
.ImmutableShortList
with(short one)
ImmutableShortList
with(short... items)
ImmutableShortList
withAll(Iterable<Short> iterable)
ImmutableShortList
withAll(ShortIterable items)
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
empty
- Specified by:
empty
in interfaceImmutableShortListFactory
-
of
Description copied from interface:ImmutableShortListFactory
Same asImmutableShortListFactory.empty()
.- Specified by:
of
in interfaceImmutableShortListFactory
-
with
Description copied from interface:ImmutableShortListFactory
Same asImmutableShortListFactory.empty()
.- Specified by:
with
in interfaceImmutableShortListFactory
-
of
Description copied from interface:ImmutableShortListFactory
- Specified by:
of
in interfaceImmutableShortListFactory
-
with
- Specified by:
with
in interfaceImmutableShortListFactory
-
of
Description copied from interface:ImmutableShortListFactory
- Specified by:
of
in interfaceImmutableShortListFactory
-
with
- Specified by:
with
in interfaceImmutableShortListFactory
-
ofAll
Description copied from interface:ImmutableShortListFactory
- Specified by:
ofAll
in interfaceImmutableShortListFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableShortListFactory
-
ofAll
Description copied from interface:ImmutableShortListFactory
- Specified by:
ofAll
in interfaceImmutableShortListFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableShortListFactory
- Since:
- 10.0
-