Interface ImmutableShortIntMapFactory
-
- All Known Implementing Classes:
ImmutableShortIntMapFactoryImpl
public interface ImmutableShortIntMapFactory
A factory which creates instances of typeImmutableShortIntMap
. 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 ImmutableShortIntMap
empty()
<T> ImmutableShortIntMap
from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Creates anImmutableShortIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableShortIntMap
of()
Same asempty()
.ImmutableShortIntMap
of(short key, int value)
Same aswith(short, int)
.ImmutableShortIntMap
ofAll(ShortIntMap map)
Same aswithAll(ShortIntMap)
.ImmutableShortIntMap
with()
Same asempty()
.ImmutableShortIntMap
with(short key, int value)
ImmutableShortIntMap
withAll(ShortIntMap map)
-
-
-
Method Detail
-
empty
ImmutableShortIntMap empty()
- Since:
- 6.0
-
of
ImmutableShortIntMap of()
Same asempty()
.
-
with
ImmutableShortIntMap with()
Same asempty()
.
-
of
ImmutableShortIntMap of(short key, int value)
Same aswith(short, int)
.
-
with
ImmutableShortIntMap with(short key, int value)
-
ofAll
ImmutableShortIntMap ofAll(ShortIntMap map)
Same aswithAll(ShortIntMap)
.
-
withAll
ImmutableShortIntMap withAll(ShortIntMap map)
-
from
<T> ImmutableShortIntMap from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Creates anImmutableShortIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-