Enum ImmutableFloatBooleanMapFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableFloatBooleanMapFactoryImpl>
org.eclipse.collections.impl.map.immutable.primitive.ImmutableFloatBooleanMapFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableFloatBooleanMapFactoryImpl>
,java.lang.constant.Constable
,ImmutableFloatBooleanMapFactory
public enum ImmutableFloatBooleanMapFactoryImpl extends Enum<ImmutableFloatBooleanMapFactoryImpl> implements ImmutableFloatBooleanMapFactory
ImmutableFloatBooleanMapFactoryImpl is a factory implementation which creates instances of type
ImmutableFloatBooleanMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
Modifier and Type Method Description ImmutableFloatBooleanMap
empty()
<T> ImmutableFloatBooleanMap
from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, BooleanFunction<? super T> valueFunction)
Creates anImmutableFloatBooleanMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableFloatBooleanMap
of()
ImmutableFloatBooleanMap
of(float key, boolean value)
ImmutableFloatBooleanMap
ofAll(FloatBooleanMap map)
static ImmutableFloatBooleanMapFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImmutableFloatBooleanMapFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.ImmutableFloatBooleanMap
with()
ImmutableFloatBooleanMap
with(float key, boolean value)
ImmutableFloatBooleanMap
withAll(FloatBooleanMap map)
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 interfaceImmutableFloatBooleanMapFactory
-
of
Description copied from interface:ImmutableFloatBooleanMapFactory
- Specified by:
of
in interfaceImmutableFloatBooleanMapFactory
-
with
Description copied from interface:ImmutableFloatBooleanMapFactory
- Specified by:
with
in interfaceImmutableFloatBooleanMapFactory
-
of
Description copied from interface:ImmutableFloatBooleanMapFactory
- Specified by:
of
in interfaceImmutableFloatBooleanMapFactory
-
with
- Specified by:
with
in interfaceImmutableFloatBooleanMapFactory
-
ofAll
Description copied from interface:ImmutableFloatBooleanMapFactory
- Specified by:
ofAll
in interfaceImmutableFloatBooleanMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableFloatBooleanMapFactory
-
from
public <T> ImmutableFloatBooleanMap from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, BooleanFunction<? super T> valueFunction)Description copied from interface:ImmutableFloatBooleanMapFactory
Creates anImmutableFloatBooleanMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableFloatBooleanMapFactory
-