Enum ImmutableBooleanSetFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableBooleanSetFactoryImpl>
org.eclipse.collections.impl.set.immutable.primitive.ImmutableBooleanSetFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableBooleanSetFactoryImpl>
,java.lang.constant.Constable
,ImmutableBooleanSetFactory
public enum ImmutableBooleanSetFactoryImpl extends Enum<ImmutableBooleanSetFactoryImpl> implements ImmutableBooleanSetFactory
ImmutableBooleanSetFactoryImpl is a factory implementation which creates instances of type
ImmutableBooleanSet
.- Since:
- 4.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
Modifier and Type Method Description ImmutableBooleanSet
empty()
ImmutableBooleanSet
of()
Same asImmutableBooleanSetFactory.empty()
.ImmutableBooleanSet
of(boolean one)
ImmutableBooleanSet
of(boolean... items)
ImmutableBooleanSet
ofAll(Iterable<Boolean> iterable)
ImmutableBooleanSet
ofAll(BooleanIterable items)
static ImmutableBooleanSetFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImmutableBooleanSetFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.ImmutableBooleanSet
with()
Same asImmutableBooleanSetFactory.empty()
.ImmutableBooleanSet
with(boolean one)
ImmutableBooleanSet
with(boolean... items)
ImmutableBooleanSet
withAll(Iterable<Boolean> iterable)
ImmutableBooleanSet
withAll(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 interfaceImmutableBooleanSetFactory
-
of
Description copied from interface:ImmutableBooleanSetFactory
Same asImmutableBooleanSetFactory.empty()
.- Specified by:
of
in interfaceImmutableBooleanSetFactory
-
with
Description copied from interface:ImmutableBooleanSetFactory
Same asImmutableBooleanSetFactory.empty()
.- Specified by:
with
in interfaceImmutableBooleanSetFactory
-
of
Description copied from interface:ImmutableBooleanSetFactory
- Specified by:
of
in interfaceImmutableBooleanSetFactory
-
with
- Specified by:
with
in interfaceImmutableBooleanSetFactory
-
of
Description copied from interface:ImmutableBooleanSetFactory
- Specified by:
of
in interfaceImmutableBooleanSetFactory
-
with
- Specified by:
with
in interfaceImmutableBooleanSetFactory
-
ofAll
Description copied from interface:ImmutableBooleanSetFactory
- Specified by:
ofAll
in interfaceImmutableBooleanSetFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableBooleanSetFactory
-
ofAll
Description copied from interface:ImmutableBooleanSetFactory
- Specified by:
ofAll
in interfaceImmutableBooleanSetFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableBooleanSetFactory
- Since:
- 10.0
-