Enum ImmutableLongSetFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableLongSetFactoryImpl>
org.eclipse.collections.impl.set.immutable.primitive.ImmutableLongSetFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableLongSetFactoryImpl>
,java.lang.constant.Constable
,ImmutableLongSetFactory
public enum ImmutableLongSetFactoryImpl
extends Enum<ImmutableLongSetFactoryImpl>
implements ImmutableLongSetFactory
ImmutableLongSetFactoryImpl is a factory implementation which creates instances of type
ImmutableLongSet
.
This file was automatically generated from template file immutablePrimitiveSetFactoryImpl.stg.- Since:
- 4.0.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionempty()
of()
Same asImmutableLongSetFactory.empty()
.of
(long one) Same asImmutableLongSetFactory.with(long)
.of
(long... items) Same asImmutableLongSetFactory.with(long[])
.ofAll
(LongStream items) ofAll
(LongIterable items) static ImmutableLongSetFactoryImpl
Returns the enum constant of this type with the specified name.static ImmutableLongSetFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.with()
Same asImmutableLongSetFactory.empty()
.with
(long one) with
(long... items) withAll
(LongStream items) withAll
(LongIterable items) 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 interfaceImmutableLongSetFactory
-
of
Description copied from interface:ImmutableLongSetFactory
Same asImmutableLongSetFactory.empty()
.- Specified by:
of
in interfaceImmutableLongSetFactory
-
with
Description copied from interface:ImmutableLongSetFactory
Same asImmutableLongSetFactory.empty()
.- Specified by:
with
in interfaceImmutableLongSetFactory
-
of
Description copied from interface:ImmutableLongSetFactory
Same asImmutableLongSetFactory.with(long)
.- Specified by:
of
in interfaceImmutableLongSetFactory
-
with
- Specified by:
with
in interfaceImmutableLongSetFactory
-
of
Description copied from interface:ImmutableLongSetFactory
Same asImmutableLongSetFactory.with(long[])
.- Specified by:
of
in interfaceImmutableLongSetFactory
-
with
- Specified by:
with
in interfaceImmutableLongSetFactory
-
ofAll
Description copied from interface:ImmutableLongSetFactory
- Specified by:
ofAll
in interfaceImmutableLongSetFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableLongSetFactory
-
ofAll
Description copied from interface:ImmutableLongSetFactory
- Specified by:
ofAll
in interfaceImmutableLongSetFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableLongSetFactory
- Since:
- 10.0
-
ofAll
- Specified by:
ofAll
in interfaceImmutableLongSetFactory
- Since:
- 9.0
-
withAll
- Specified by:
withAll
in interfaceImmutableLongSetFactory
- Since:
- 9.0
-