Enum ImmutableIntSetFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableIntSetFactoryImpl>
org.eclipse.collections.impl.set.immutable.primitive.ImmutableIntSetFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableIntSetFactoryImpl>
,java.lang.constant.Constable
,ImmutableIntSetFactory
public enum ImmutableIntSetFactoryImpl extends Enum<ImmutableIntSetFactoryImpl> implements ImmutableIntSetFactory
ImmutableIntSetFactoryImpl is a factory implementation which creates instances of type
ImmutableIntSet
.
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 ImmutableIntSet
empty()
ImmutableIntSet
of()
Same asImmutableIntSetFactory.empty()
.ImmutableIntSet
of(int one)
Same asImmutableIntSetFactory.with(int)
.ImmutableIntSet
of(int... items)
Same asImmutableIntSetFactory.with(int[])
.ImmutableIntSet
ofAll(Iterable<Integer> iterable)
ImmutableIntSet
ofAll(IntStream items)
ImmutableIntSet
ofAll(IntIterable items)
static ImmutableIntSetFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImmutableIntSetFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.ImmutableIntSet
with()
Same asImmutableIntSetFactory.empty()
.ImmutableIntSet
with(int one)
ImmutableIntSet
with(int... items)
ImmutableIntSet
withAll(Iterable<Integer> iterable)
ImmutableIntSet
withAll(IntStream items)
ImmutableIntSet
withAll(IntIterable 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 interfaceImmutableIntSetFactory
-
of
Description copied from interface:ImmutableIntSetFactory
Same asImmutableIntSetFactory.empty()
.- Specified by:
of
in interfaceImmutableIntSetFactory
-
with
Description copied from interface:ImmutableIntSetFactory
Same asImmutableIntSetFactory.empty()
.- Specified by:
with
in interfaceImmutableIntSetFactory
-
of
Description copied from interface:ImmutableIntSetFactory
Same asImmutableIntSetFactory.with(int)
.- Specified by:
of
in interfaceImmutableIntSetFactory
-
with
- Specified by:
with
in interfaceImmutableIntSetFactory
-
of
Description copied from interface:ImmutableIntSetFactory
Same asImmutableIntSetFactory.with(int[])
.- Specified by:
of
in interfaceImmutableIntSetFactory
-
with
- Specified by:
with
in interfaceImmutableIntSetFactory
-
ofAll
Description copied from interface:ImmutableIntSetFactory
- Specified by:
ofAll
in interfaceImmutableIntSetFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableIntSetFactory
-
ofAll
Description copied from interface:ImmutableIntSetFactory
- Specified by:
ofAll
in interfaceImmutableIntSetFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableIntSetFactory
- Since:
- 10.0
-
ofAll
- Specified by:
ofAll
in interfaceImmutableIntSetFactory
- Since:
- 9.0
-
withAll
- Specified by:
withAll
in interfaceImmutableIntSetFactory
- Since:
- 9.0
-