Enum ImmutableShortSetFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableShortSetFactoryImpl>
org.eclipse.collections.impl.set.immutable.primitive.ImmutableShortSetFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<ImmutableShortSetFactoryImpl>,java.lang.constant.Constable,ImmutableShortSetFactory
public enum ImmutableShortSetFactoryImpl extends Enum<ImmutableShortSetFactoryImpl> implements ImmutableShortSetFactory
ImmutableShortSetFactoryImpl is a factory implementation which creates instances of type
ImmutableShortSet.
This file was automatically generated from template file immutablePrimitiveSetFactoryImpl.stg.- Since:
- 4.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Method Summary
Modifier and Type Method Description ImmutableShortSetempty()ImmutableShortSetof()Same asImmutableShortSetFactory.empty().ImmutableShortSetof(short one)Same asImmutableShortSetFactory.with(short).ImmutableShortSetof(short... items)ImmutableShortSetofAll(Iterable<Short> iterable)ImmutableShortSetofAll(ShortIterable items)static ImmutableShortSetFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static ImmutableShortSetFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.ImmutableShortSetwith()Same asImmutableShortSetFactory.empty().ImmutableShortSetwith(short one)ImmutableShortSetwith(short... items)ImmutableShortSetwithAll(Iterable<Short> iterable)ImmutableShortSetwithAll(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 interfaceImmutableShortSetFactory
-
of
Description copied from interface:ImmutableShortSetFactorySame asImmutableShortSetFactory.empty().- Specified by:
ofin interfaceImmutableShortSetFactory
-
with
Description copied from interface:ImmutableShortSetFactorySame asImmutableShortSetFactory.empty().- Specified by:
within interfaceImmutableShortSetFactory
-
of
Description copied from interface:ImmutableShortSetFactorySame asImmutableShortSetFactory.with(short).- Specified by:
ofin interfaceImmutableShortSetFactory
-
with
- Specified by:
within interfaceImmutableShortSetFactory
-
of
Description copied from interface:ImmutableShortSetFactory- Specified by:
ofin interfaceImmutableShortSetFactory
-
with
- Specified by:
within interfaceImmutableShortSetFactory
-
ofAll
Description copied from interface:ImmutableShortSetFactory- Specified by:
ofAllin interfaceImmutableShortSetFactory
-
withAll
- Specified by:
withAllin interfaceImmutableShortSetFactory
-
ofAll
Description copied from interface:ImmutableShortSetFactory- Specified by:
ofAllin interfaceImmutableShortSetFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceImmutableShortSetFactory- Since:
- 10.0
-