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