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