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