Interface ImmutableIntShortMapFactory
- All Known Implementing Classes:
ImmutableIntShortMapFactoryImpl
public interface ImmutableIntShortMapFactory
A factory which creates instances of type
ImmutableIntShortMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and Type Method Description ImmutableIntShortMap
empty()
<T> ImmutableIntShortMap
from(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 Details
-
empty
ImmutableIntShortMap empty()- Since:
- 6.0
-
of
ImmutableIntShortMap of()Same asempty()
. -
with
ImmutableIntShortMap with()Same asempty()
. -
of
Same aswith(int, short)
. -
with
-
ofAll
Same aswithAll(IntShortMap)
. -
withAll
-
from
<T> ImmutableIntShortMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Creates anImmutableIntShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-