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