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