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 Type Method Description ImmutableCharIntMap
empty()
<T> ImmutableCharIntMap
from(Iterable<T> iterable, CharFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Creates anImmutableCharIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableCharIntMap
of()
Same asempty()
.ImmutableCharIntMap
of(char key, int value)
Same aswith(char, int)
.ImmutableCharIntMap
ofAll(CharIntMap map)
Same aswithAll(CharIntMap)
.ImmutableCharIntMap
with()
Same asempty()
.ImmutableCharIntMap
with(char key, int value)
ImmutableCharIntMap
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
-