Interface ImmutableCharIntMapFactory
- All Known Implementing Classes:
ImmutableCharIntMapFactoryImpl
public interface ImmutableCharIntMapFactory
A factory which creates instances of type
ImmutableCharIntMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, CharFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableCharIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asempty()
.of
(char key, int value) Same aswith(char, int)
.ofAll
(CharIntMap map) Same aswithAll(CharIntMap)
.with()
Same asempty()
.with
(char key, int value) withAll
(CharIntMap map)
-
Method Details
-
empty
ImmutableCharIntMap empty()- Since:
- 6.0
-
of
ImmutableCharIntMap of()Same asempty()
. -
with
ImmutableCharIntMap with()Same asempty()
. -
of
Same aswith(char, int)
. -
with
-
ofAll
Same aswithAll(CharIntMap)
. -
withAll
-
from
<T> ImmutableCharIntMap from(Iterable<T> iterable, CharFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableCharIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-