Class ImmutableCharIntMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableCharIntMapFactoryImpl
- All Implemented Interfaces:
ImmutableCharIntMapFactory
ImmutableCharIntMapFactoryImpl is a factory implementation which creates instances of type
ImmutableCharIntMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, CharFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableCharIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asImmutableCharIntMapFactory.empty().of(char key, int value) ofAll(CharIntMap map) with()Same asImmutableCharIntMapFactory.empty().with(char key, int value) withAll(CharIntMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableCharIntMapFactoryImpl
public ImmutableCharIntMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableCharIntMapFactory
-
of
Description copied from interface:ImmutableCharIntMapFactorySame asImmutableCharIntMapFactory.empty().- Specified by:
ofin interfaceImmutableCharIntMapFactory
-
with
Description copied from interface:ImmutableCharIntMapFactorySame asImmutableCharIntMapFactory.empty().- Specified by:
within interfaceImmutableCharIntMapFactory
-
of
Description copied from interface:ImmutableCharIntMapFactory- Specified by:
ofin interfaceImmutableCharIntMapFactory
-
with
- Specified by:
within interfaceImmutableCharIntMapFactory
-
ofAll
Description copied from interface:ImmutableCharIntMapFactory- Specified by:
ofAllin interfaceImmutableCharIntMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableCharIntMapFactory
-
from
public <T> ImmutableCharIntMap from(Iterable<T> iterable, CharFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Description copied from interface:ImmutableCharIntMapFactoryCreates anImmutableCharIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableCharIntMapFactory
-