Class ImmutableIntCharMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntCharMapFactoryImpl
- All Implemented Interfaces:
ImmutableIntCharMapFactory
ImmutableIntCharMapFactoryImpl is a factory implementation which creates instances of type
ImmutableIntCharMap.
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, IntFunction<? super T> keyFunction, CharFunction<? super T> valueFunction) Creates anImmutableIntCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asImmutableIntCharMapFactory.empty().of(int key, char value) ofAll(IntCharMap map) with()Same asImmutableIntCharMapFactory.empty().with(int key, char value) withAll(IntCharMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableIntCharMapFactoryImpl
public ImmutableIntCharMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableIntCharMapFactory
-
of
Description copied from interface:ImmutableIntCharMapFactorySame asImmutableIntCharMapFactory.empty().- Specified by:
ofin interfaceImmutableIntCharMapFactory
-
with
Description copied from interface:ImmutableIntCharMapFactorySame asImmutableIntCharMapFactory.empty().- Specified by:
within interfaceImmutableIntCharMapFactory
-
of
Description copied from interface:ImmutableIntCharMapFactory- Specified by:
ofin interfaceImmutableIntCharMapFactory
-
with
- Specified by:
within interfaceImmutableIntCharMapFactory
-
ofAll
Description copied from interface:ImmutableIntCharMapFactory- Specified by:
ofAllin interfaceImmutableIntCharMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableIntCharMapFactory
-
from
public <T> ImmutableIntCharMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, CharFunction<? super T> valueFunction) Description copied from interface:ImmutableIntCharMapFactoryCreates anImmutableIntCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableIntCharMapFactory
-