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
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
Modifier and Type Method Description MutableLongSet
empty()
MutableLongSet
of()
Same asMutableLongSetFactory.empty()
.MutableLongSet
of(long... items)
Same asMutableLongSetFactory.with(long[])
.MutableLongSet
ofAll(Iterable<Long> iterable)
MutableLongSet
ofAll(LongStream items)
MutableLongSet
ofAll(LongIterable items)
static MutableLongSetFactoryImpl
valueOf(String name)
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.MutableLongSet
with()
Same asMutableLongSetFactory.empty()
.MutableLongSet
with(long... items)
MutableLongSet
withAll(Iterable<Long> iterable)
MutableLongSet
withAll(LongStream items)
MutableLongSet
withAll(LongIterable items)
MutableLongSet
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
-
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
-