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