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 ImmutableShortListempty()ImmutableShortListof()Same asImmutableShortListFactory.empty().ImmutableShortListof(short one)ImmutableShortListof(short... items)ImmutableShortListofAll(Iterable<Short> iterable)ImmutableShortListofAll(ShortIterable items)static ImmutableShortListFactoryImplvalueOf(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.ImmutableShortListwith()Same asImmutableShortListFactory.empty().ImmutableShortListwith(short one)ImmutableShortListwith(short... items)ImmutableShortListwithAll(Iterable<Short> iterable)ImmutableShortListwithAll(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:
emptyin interfaceImmutableShortListFactory
-
of
Description copied from interface:ImmutableShortListFactorySame asImmutableShortListFactory.empty().- Specified by:
ofin interfaceImmutableShortListFactory
-
with
Description copied from interface:ImmutableShortListFactorySame asImmutableShortListFactory.empty().- Specified by:
within interfaceImmutableShortListFactory
-
of
Description copied from interface:ImmutableShortListFactory- Specified by:
ofin interfaceImmutableShortListFactory
-
with
- Specified by:
within interfaceImmutableShortListFactory
-
of
Description copied from interface:ImmutableShortListFactory- Specified by:
ofin interfaceImmutableShortListFactory
-
with
- Specified by:
within interfaceImmutableShortListFactory
-
ofAll
Description copied from interface:ImmutableShortListFactory- Specified by:
ofAllin interfaceImmutableShortListFactory
-
withAll
- Specified by:
withAllin interfaceImmutableShortListFactory
-
ofAll
Description copied from interface:ImmutableShortListFactory- Specified by:
ofAllin interfaceImmutableShortListFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceImmutableShortListFactory- Since:
- 10.0
-