Enum MutableLongSetFactoryImpl
java.lang.Object
java.lang.Enum<MutableLongSetFactoryImpl>
org.eclipse.collections.impl.set.mutable.primitive.MutableLongSetFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<MutableLongSetFactoryImpl>
,java.lang.constant.Constable
,MutableLongSetFactory
public enum MutableLongSetFactoryImpl
extends Enum<MutableLongSetFactoryImpl>
implements MutableLongSetFactory
MutableLongSetFactoryImpl is a factory implementation which creates instances of type
MutableLongSet
.
This file was automatically generated from template file mutablePrimitiveSetFactoryImpl.stg.- Since:
- 6.0.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionempty()
of()
Same asMutableLongSetFactory.empty()
.of
(long... items) Same asMutableLongSetFactory.with(long[])
.ofAll
(LongStream items) ofAll
(LongIterable items) static MutableLongSetFactoryImpl
Returns the enum constant of this type with the specified name.static MutableLongSetFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.with()
Same asMutableLongSetFactory.empty()
.with
(long... items) withAll
(LongStream items) withAll
(LongIterable items) withInitialCapacity
(int capacity) Same asMutableLongSetFactory.empty()
.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
INSTANCE
-
-
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 interfaceMutableLongSetFactory
-
of
Description copied from interface:MutableLongSetFactory
Same asMutableLongSetFactory.empty()
.- Specified by:
of
in interfaceMutableLongSetFactory
-
with
Description copied from interface:MutableLongSetFactory
Same asMutableLongSetFactory.empty()
.- Specified by:
with
in interfaceMutableLongSetFactory
-
withInitialCapacity
Description copied from interface:MutableLongSetFactory
Same asMutableLongSetFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableLongSetFactory
-
of
Description copied from interface:MutableLongSetFactory
Same asMutableLongSetFactory.with(long[])
.- Specified by:
of
in interfaceMutableLongSetFactory
-
with
- Specified by:
with
in interfaceMutableLongSetFactory
-
ofAll
Description copied from interface:MutableLongSetFactory
- Specified by:
ofAll
in interfaceMutableLongSetFactory
-
withAll
- Specified by:
withAll
in interfaceMutableLongSetFactory
-
ofAll
Description copied from interface:MutableLongSetFactory
- Specified by:
ofAll
in interfaceMutableLongSetFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceMutableLongSetFactory
- Since:
- 10.0
-
ofAll
- Specified by:
ofAll
in interfaceMutableLongSetFactory
- Since:
- 9.0
-
withAll
- Specified by:
withAll
in interfaceMutableLongSetFactory
- Since:
- 9.0
-