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