Enum ImmutableFloatBagFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableFloatBagFactoryImpl>
org.eclipse.collections.impl.bag.immutable.primitive.ImmutableFloatBagFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableFloatBagFactoryImpl>
,java.lang.constant.Constable
,ImmutableFloatBagFactory
public enum ImmutableFloatBagFactoryImpl extends Enum<ImmutableFloatBagFactoryImpl> implements ImmutableFloatBagFactory
ImmutableFloatBagFactoryImpl is a factory implementation which creates instances of type
ImmutableFloatBag
.
This file was automatically generated from template file immutablePrimitiveBagFactoryImpl.stg.- Since:
- 4.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
Modifier and Type Method Description ImmutableFloatBag
empty()
ImmutableFloatBag
of()
Same asImmutableFloatBagFactory.empty()
.ImmutableFloatBag
of(float one)
Same asImmutableFloatBagFactory.with(float)
.ImmutableFloatBag
of(float... items)
ImmutableFloatBag
ofAll(Iterable<Float> iterable)
ImmutableFloatBag
ofAll(FloatIterable items)
static ImmutableFloatBagFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImmutableFloatBagFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.ImmutableFloatBag
with()
Same asImmutableFloatBagFactory.empty()
.ImmutableFloatBag
with(float one)
ImmutableFloatBag
with(float... items)
ImmutableFloatBag
withAll(Iterable<Float> iterable)
ImmutableFloatBag
withAll(FloatIterable 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 interfaceImmutableFloatBagFactory
-
of
Description copied from interface:ImmutableFloatBagFactory
Same asImmutableFloatBagFactory.empty()
.- Specified by:
of
in interfaceImmutableFloatBagFactory
-
with
Description copied from interface:ImmutableFloatBagFactory
Same asImmutableFloatBagFactory.empty()
.- Specified by:
with
in interfaceImmutableFloatBagFactory
-
of
Description copied from interface:ImmutableFloatBagFactory
Same asImmutableFloatBagFactory.with(float)
.- Specified by:
of
in interfaceImmutableFloatBagFactory
-
with
- Specified by:
with
in interfaceImmutableFloatBagFactory
-
of
Description copied from interface:ImmutableFloatBagFactory
- Specified by:
of
in interfaceImmutableFloatBagFactory
-
with
- Specified by:
with
in interfaceImmutableFloatBagFactory
-
ofAll
Description copied from interface:ImmutableFloatBagFactory
- Specified by:
ofAll
in interfaceImmutableFloatBagFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableFloatBagFactory
-
ofAll
Description copied from interface:ImmutableFloatBagFactory
- Specified by:
ofAll
in interfaceImmutableFloatBagFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableFloatBagFactory
- Since:
- 10.0
-