Class ImmutableCharCharMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableCharCharMapFactoryImpl
- All Implemented Interfaces:
ImmutableCharCharMapFactory
ImmutableCharCharMapFactoryImpl is a factory implementation which creates instances of type
ImmutableCharCharMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, CharFunction<? super T> keyFunction, CharFunction<? super T> valueFunction) Creates anImmutableCharCharMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asImmutableCharCharMapFactory.empty()
.of
(char key, char value) ofAll
(CharCharMap map) with()
Same asImmutableCharCharMapFactory.empty()
.with
(char key, char value) withAll
(CharCharMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableCharCharMapFactoryImpl
public ImmutableCharCharMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableCharCharMapFactory
-
of
Description copied from interface:ImmutableCharCharMapFactory
Same asImmutableCharCharMapFactory.empty()
.- Specified by:
of
in interfaceImmutableCharCharMapFactory
-
with
Description copied from interface:ImmutableCharCharMapFactory
Same asImmutableCharCharMapFactory.empty()
.- Specified by:
with
in interfaceImmutableCharCharMapFactory
-
of
Description copied from interface:ImmutableCharCharMapFactory
- Specified by:
of
in interfaceImmutableCharCharMapFactory
-
with
- Specified by:
with
in interfaceImmutableCharCharMapFactory
-
ofAll
Description copied from interface:ImmutableCharCharMapFactory
- Specified by:
ofAll
in interfaceImmutableCharCharMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableCharCharMapFactory
-
from
public <T> ImmutableCharCharMap from(Iterable<T> iterable, CharFunction<? super T> keyFunction, CharFunction<? super T> valueFunction) Description copied from interface:ImmutableCharCharMapFactory
Creates anImmutableCharCharMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableCharCharMapFactory
-