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