Enum MutableLongStackFactoryImpl
java.lang.Object
java.lang.Enum<MutableLongStackFactoryImpl>
org.eclipse.collections.impl.stack.mutable.primitive.MutableLongStackFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<MutableLongStackFactoryImpl>
,java.lang.constant.Constable
,MutableLongStackFactory
public enum MutableLongStackFactoryImpl extends Enum<MutableLongStackFactoryImpl> implements MutableLongStackFactory
MutableLongStackFactoryImpl is a factory implementation which creates instances of type
MutableLongStack
.
This file was automatically generated from template file mutablePrimitiveStackFactoryImpl.stg.- Since:
- 6.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
Modifier and Type Method Description MutableLongStack
empty()
MutableLongStack
of()
Same asMutableLongStackFactory.empty()
.MutableLongStack
of(long... items)
Same asMutableLongStackFactory.with(long[])
.MutableLongStack
ofAll(Iterable<Long> iterable)
MutableLongStack
ofAll(LongStream items)
MutableLongStack
ofAll(LongIterable items)
MutableLongStack
ofAllReversed(LongIterable items)
static MutableLongStackFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static MutableLongStackFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.MutableLongStack
with()
Same asMutableLongStackFactory.empty()
.MutableLongStack
with(long... items)
MutableLongStack
withAll(Iterable<Long> iterable)
MutableLongStack
withAll(LongStream items)
MutableLongStack
withAll(LongIterable items)
MutableLongStack
withAllReversed(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 interfaceMutableLongStackFactory
-
of
Description copied from interface:MutableLongStackFactory
Same asMutableLongStackFactory.empty()
.- Specified by:
of
in interfaceMutableLongStackFactory
-
with
Description copied from interface:MutableLongStackFactory
Same asMutableLongStackFactory.empty()
.- Specified by:
with
in interfaceMutableLongStackFactory
-
of
Description copied from interface:MutableLongStackFactory
Same asMutableLongStackFactory.with(long[])
.- Specified by:
of
in interfaceMutableLongStackFactory
-
with
- Specified by:
with
in interfaceMutableLongStackFactory
-
ofAll
Description copied from interface:MutableLongStackFactory
- Specified by:
ofAll
in interfaceMutableLongStackFactory
-
withAll
- Specified by:
withAll
in interfaceMutableLongStackFactory
-
ofAll
Description copied from interface:MutableLongStackFactory
- Specified by:
ofAll
in interfaceMutableLongStackFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceMutableLongStackFactory
- Since:
- 10.0
-
ofAllReversed
Description copied from interface:MutableLongStackFactory
- Specified by:
ofAllReversed
in interfaceMutableLongStackFactory
-
withAllReversed
- Specified by:
withAllReversed
in interfaceMutableLongStackFactory
-
ofAll
- Specified by:
ofAll
in interfaceMutableLongStackFactory
- Since:
- 9.0
-
withAll
- Specified by:
withAll
in interfaceMutableLongStackFactory
- Since:
- 9.0
-