Enum MutableObjectBooleanMapFactoryImpl
java.lang.Object
java.lang.Enum<MutableObjectBooleanMapFactoryImpl>
org.eclipse.collections.impl.map.mutable.primitive.MutableObjectBooleanMapFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<MutableObjectBooleanMapFactoryImpl>
,java.lang.constant.Constable
,MutableObjectBooleanMapFactory
public enum MutableObjectBooleanMapFactoryImpl extends Enum<MutableObjectBooleanMapFactoryImpl> implements MutableObjectBooleanMapFactory
MutableObjectBooleanMapFactoryImpl is a factory implementation which creates instances of type
MutableObjectBooleanMap
.
This file was automatically generated from template file mutableObjectPrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
Modifier and Type Method Description <K> MutableObjectBooleanMap<K>
empty()
<T, K> MutableObjectBooleanMap<K>
from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, BooleanFunction<? super T> valueFunction)
Creates anMutableObjectBooleanMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<K> MutableObjectBooleanMap<K>
of()
<K> MutableObjectBooleanMap<K>
ofAll(ObjectBooleanMap<? extends K> map)
<K> MutableObjectBooleanMap<K>
ofInitialCapacity(int capacity)
static MutableObjectBooleanMapFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static MutableObjectBooleanMapFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.<K> MutableObjectBooleanMap<K>
with()
<K> MutableObjectBooleanMap<K>
withAll(ObjectBooleanMap<? extends K> map)
<K> MutableObjectBooleanMap<K>
withInitialCapacity(int capacity)
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 interfaceMutableObjectBooleanMapFactory
-
of
Description copied from interface:MutableObjectBooleanMapFactory
- Specified by:
of
in interfaceMutableObjectBooleanMapFactory
-
with
Description copied from interface:MutableObjectBooleanMapFactory
- Specified by:
with
in interfaceMutableObjectBooleanMapFactory
-
ofInitialCapacity
Description copied from interface:MutableObjectBooleanMapFactory
Same asMutableObjectBooleanMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableObjectBooleanMapFactory
-
withInitialCapacity
Description copied from interface:MutableObjectBooleanMapFactory
Same asMutableObjectBooleanMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableObjectBooleanMapFactory
-
ofAll
Description copied from interface:MutableObjectBooleanMapFactory
- Specified by:
ofAll
in interfaceMutableObjectBooleanMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableObjectBooleanMapFactory
-
from
public <T, K> MutableObjectBooleanMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, BooleanFunction<? super T> valueFunction)Description copied from interface:MutableObjectBooleanMapFactory
Creates anMutableObjectBooleanMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableObjectBooleanMapFactory
-