Enum MutableIntSetFactoryImpl
java.lang.Object
java.lang.Enum<MutableIntSetFactoryImpl>
org.eclipse.collections.impl.set.mutable.primitive.MutableIntSetFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<MutableIntSetFactoryImpl>,java.lang.constant.Constable,MutableIntSetFactory
public enum MutableIntSetFactoryImpl extends Enum<MutableIntSetFactoryImpl> implements MutableIntSetFactory
MutableIntSetFactoryImpl is a factory implementation which creates instances of type
MutableIntSet.
This file was automatically generated from template file mutablePrimitiveSetFactoryImpl.stg.- Since:
- 6.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Method Summary
Modifier and Type Method Description MutableIntSetempty()MutableIntSetof()Same asMutableIntSetFactory.empty().MutableIntSetof(int... items)Same asMutableIntSetFactory.with(int[]).MutableIntSetofAll(Iterable<Integer> iterable)MutableIntSetofAll(IntStream items)MutableIntSetofAll(IntIterable items)static MutableIntSetFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static MutableIntSetFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.MutableIntSetwith()Same asMutableIntSetFactory.empty().MutableIntSetwith(int... items)MutableIntSetwithAll(Iterable<Integer> iterable)MutableIntSetwithAll(IntStream items)MutableIntSetwithAll(IntIterable items)MutableIntSetwithInitialCapacity(int capacity)Same asMutableIntSetFactory.empty().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 interfaceMutableIntSetFactory
-
of
Description copied from interface:MutableIntSetFactorySame asMutableIntSetFactory.empty().- Specified by:
ofin interfaceMutableIntSetFactory
-
with
Description copied from interface:MutableIntSetFactorySame asMutableIntSetFactory.empty().- Specified by:
within interfaceMutableIntSetFactory
-
withInitialCapacity
Description copied from interface:MutableIntSetFactorySame asMutableIntSetFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableIntSetFactory
-
of
Description copied from interface:MutableIntSetFactorySame asMutableIntSetFactory.with(int[]).- Specified by:
ofin interfaceMutableIntSetFactory
-
with
- Specified by:
within interfaceMutableIntSetFactory
-
ofAll
Description copied from interface:MutableIntSetFactory- Specified by:
ofAllin interfaceMutableIntSetFactory
-
withAll
- Specified by:
withAllin interfaceMutableIntSetFactory
-
ofAll
Description copied from interface:MutableIntSetFactory- Specified by:
ofAllin interfaceMutableIntSetFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceMutableIntSetFactory- Since:
- 10.0
-
ofAll
- Specified by:
ofAllin interfaceMutableIntSetFactory- Since:
- 9.0
-
withAll
- Specified by:
withAllin interfaceMutableIntSetFactory- Since:
- 9.0
-