Enum ImmutableLongListFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableLongListFactoryImpl>
org.eclipse.collections.impl.list.immutable.primitive.ImmutableLongListFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableLongListFactoryImpl>
,java.lang.constant.Constable
,ImmutableLongListFactory
public enum ImmutableLongListFactoryImpl
extends Enum<ImmutableLongListFactoryImpl>
implements ImmutableLongListFactory
ImmutableLongListFactoryImpl is a factory implementation which creates instances of type
ImmutableLongList
.
This file was automatically generated from template file immutablePrimitiveListFactoryImpl.stg.- Since:
- 3.2.
-
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 asImmutableLongListFactory.empty()
.of
(long one) Same asImmutableLongListFactory.with(long)
.of
(long... items) ofAll
(LongStream items) ofAll
(LongIterable items) static ImmutableLongListFactoryImpl
Returns the enum constant of this type with the specified name.static ImmutableLongListFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.with()
Same asImmutableLongListFactory.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 interfaceImmutableLongListFactory
-
of
Description copied from interface:ImmutableLongListFactory
Same asImmutableLongListFactory.empty()
.- Specified by:
of
in interfaceImmutableLongListFactory
-
with
Description copied from interface:ImmutableLongListFactory
Same asImmutableLongListFactory.empty()
.- Specified by:
with
in interfaceImmutableLongListFactory
-
of
Description copied from interface:ImmutableLongListFactory
Same asImmutableLongListFactory.with(long)
.- Specified by:
of
in interfaceImmutableLongListFactory
-
with
- Specified by:
with
in interfaceImmutableLongListFactory
-
of
Description copied from interface:ImmutableLongListFactory
- Specified by:
of
in interfaceImmutableLongListFactory
-
with
- Specified by:
with
in interfaceImmutableLongListFactory
-
ofAll
Description copied from interface:ImmutableLongListFactory
- Specified by:
ofAll
in interfaceImmutableLongListFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableLongListFactory
-
ofAll
Description copied from interface:ImmutableLongListFactory
- Specified by:
ofAll
in interfaceImmutableLongListFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableLongListFactory
- Since:
- 10.0
-
ofAll
- Specified by:
ofAll
in interfaceImmutableLongListFactory
- Since:
- 9.0
-
withAll
- Specified by:
withAll
in interfaceImmutableLongListFactory
- Since:
- 9.0
-