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 anMutableObjectBooleanMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<K> MutableObjectBooleanMap<K>of()<K> MutableObjectBooleanMap<K>ofAll(ObjectBooleanMap<? extends K> map)<K> MutableObjectBooleanMap<K>ofInitialCapacity(int capacity)static MutableObjectBooleanMapFactoryImplvalueOf(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:
emptyin interfaceMutableObjectBooleanMapFactory
-
of
Description copied from interface:MutableObjectBooleanMapFactory- Specified by:
ofin interfaceMutableObjectBooleanMapFactory
-
with
Description copied from interface:MutableObjectBooleanMapFactory- Specified by:
within interfaceMutableObjectBooleanMapFactory
-
ofInitialCapacity
Description copied from interface:MutableObjectBooleanMapFactorySame asMutableObjectBooleanMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableObjectBooleanMapFactory
-
withInitialCapacity
Description copied from interface:MutableObjectBooleanMapFactorySame asMutableObjectBooleanMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableObjectBooleanMapFactory
-
ofAll
Description copied from interface:MutableObjectBooleanMapFactory- Specified by:
ofAllin interfaceMutableObjectBooleanMapFactory
-
withAll
- Specified by:
withAllin 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:MutableObjectBooleanMapFactoryCreates anMutableObjectBooleanMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableObjectBooleanMapFactory
-