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