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