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