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