Enum ImmutableBooleanStackFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableBooleanStackFactoryImpl>
org.eclipse.collections.impl.stack.immutable.primitive.ImmutableBooleanStackFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableBooleanStackFactoryImpl>
,java.lang.constant.Constable
,ImmutableBooleanStackFactory
public enum ImmutableBooleanStackFactoryImpl extends Enum<ImmutableBooleanStackFactoryImpl> implements ImmutableBooleanStackFactory
ImmutableBooleanStackFactoryImpl is a factory implementation which creates instances of type
ImmutableBooleanStack
.
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 ImmutableBooleanStack
empty()
ImmutableBooleanStack
of()
Same asImmutableBooleanStackFactory.empty()
.ImmutableBooleanStack
of(boolean one)
ImmutableBooleanStack
of(boolean... items)
ImmutableBooleanStack
ofAll(Iterable<Boolean> iterable)
ImmutableBooleanStack
ofAll(BooleanIterable items)
ImmutableBooleanStack
ofAllReversed(BooleanIterable items)
static ImmutableBooleanStackFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImmutableBooleanStackFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.ImmutableBooleanStack
with()
Same asImmutableBooleanStackFactory.empty()
.ImmutableBooleanStack
with(boolean one)
ImmutableBooleanStack
with(boolean... items)
ImmutableBooleanStack
withAll(Iterable<Boolean> iterable)
ImmutableBooleanStack
withAll(BooleanIterable items)
ImmutableBooleanStack
withAllReversed(BooleanIterable 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 interfaceImmutableBooleanStackFactory
-
of
Description copied from interface:ImmutableBooleanStackFactory
Same asImmutableBooleanStackFactory.empty()
.- Specified by:
of
in interfaceImmutableBooleanStackFactory
-
with
Description copied from interface:ImmutableBooleanStackFactory
Same asImmutableBooleanStackFactory.empty()
.- Specified by:
with
in interfaceImmutableBooleanStackFactory
-
of
Description copied from interface:ImmutableBooleanStackFactory
- Specified by:
of
in interfaceImmutableBooleanStackFactory
-
with
- Specified by:
with
in interfaceImmutableBooleanStackFactory
-
of
Description copied from interface:ImmutableBooleanStackFactory
- Specified by:
of
in interfaceImmutableBooleanStackFactory
-
with
- Specified by:
with
in interfaceImmutableBooleanStackFactory
-
ofAll
Description copied from interface:ImmutableBooleanStackFactory
- Specified by:
ofAll
in interfaceImmutableBooleanStackFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableBooleanStackFactory
-
ofAll
Description copied from interface:ImmutableBooleanStackFactory
- Specified by:
ofAll
in interfaceImmutableBooleanStackFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableBooleanStackFactory
- Since:
- 10.0
-
ofAllReversed
Description copied from interface:ImmutableBooleanStackFactory
- Specified by:
ofAllReversed
in interfaceImmutableBooleanStackFactory
-
withAllReversed
- Specified by:
withAllReversed
in interfaceImmutableBooleanStackFactory
-