Enum ImmutableObjectBooleanMapFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableObjectBooleanMapFactoryImpl>
org.eclipse.collections.impl.map.immutable.primitive.ImmutableObjectBooleanMapFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<ImmutableObjectBooleanMapFactoryImpl>,java.lang.constant.Constable,ImmutableObjectBooleanMapFactory
public enum ImmutableObjectBooleanMapFactoryImpl
extends Enum<ImmutableObjectBooleanMapFactoryImpl>
implements ImmutableObjectBooleanMapFactory
ImmutableObjectBooleanMapFactoryImpl is a factory implementation which creates instances of type
ImmutableObjectBooleanMap.
This file was automatically generated from template file immutableObjectPrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescription<K> ImmutableObjectBooleanMap<K>empty()<T,K> ImmutableObjectBooleanMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, BooleanFunction<? super T> valueFunction) Creates anImmutableObjectBooleanMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<K> ImmutableObjectBooleanMap<K>of()<K> ImmutableObjectBooleanMap<K>of(K key, boolean value) <K> ImmutableObjectBooleanMap<K>ofAll(ObjectBooleanMap<? extends K> map) Returns the enum constant of this type with the specified name.static ImmutableObjectBooleanMapFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.<K> ImmutableObjectBooleanMap<K>with()<K> ImmutableObjectBooleanMap<K>with(K key, boolean value) <K> ImmutableObjectBooleanMap<K>withAll(ObjectBooleanMap<? extends K> map) Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
INSTANCE
-
-
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 interfaceImmutableObjectBooleanMapFactory
-
of
Description copied from interface:ImmutableObjectBooleanMapFactory- Specified by:
ofin interfaceImmutableObjectBooleanMapFactory
-
with
Description copied from interface:ImmutableObjectBooleanMapFactory- Specified by:
within interfaceImmutableObjectBooleanMapFactory
-
of
Description copied from interface:ImmutableObjectBooleanMapFactory- Specified by:
ofin interfaceImmutableObjectBooleanMapFactory
-
with
- Specified by:
within interfaceImmutableObjectBooleanMapFactory
-
ofAll
Description copied from interface:ImmutableObjectBooleanMapFactory- Specified by:
ofAllin interfaceImmutableObjectBooleanMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableObjectBooleanMapFactory
-
from
public <T,K> ImmutableObjectBooleanMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, BooleanFunction<? super T> valueFunction) Description copied from interface:ImmutableObjectBooleanMapFactoryCreates anImmutableObjectBooleanMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableObjectBooleanMapFactory
-