Interface MutableShortIntMapFactory
-
- All Known Implementing Classes:
MutableShortIntMapFactoryImpl
public interface MutableShortIntMapFactory
A factory which creates instances of typeMutableShortIntMap
. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.- Since:
- 6.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MutableShortIntMap
empty()
<T> MutableShortIntMap
from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Creates anMutableShortIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.MutableShortIntMap
of()
Same asempty()
.default MutableShortIntMap
of(short key, int value)
default MutableShortIntMap
of(short key1, int value1, short key2, int value2)
default MutableShortIntMap
of(short key1, int value1, short key2, int value2, short key3, int value3)
default MutableShortIntMap
of(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4)
MutableShortIntMap
ofAll(ShortIntMap map)
Same aswithAll(ShortIntMap)
.MutableShortIntMap
ofInitialCapacity(int capacity)
Same asempty()
.MutableShortIntMap
with()
Same asempty()
.default MutableShortIntMap
with(short key, int value)
default MutableShortIntMap
with(short key1, int value1, short key2, int value2)
default MutableShortIntMap
with(short key1, int value1, short key2, int value2, short key3, int value3)
default MutableShortIntMap
with(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4)
MutableShortIntMap
withAll(ShortIntMap map)
MutableShortIntMap
withInitialCapacity(int capacity)
Same asempty()
.
-
-
-
Method Detail
-
empty
MutableShortIntMap empty()
-
of
MutableShortIntMap of()
Same asempty()
.
-
with
MutableShortIntMap with()
Same asempty()
.
-
of
default MutableShortIntMap of(short key, int value)
- Since:
- 11.1.
-
with
default MutableShortIntMap with(short key, int value)
- Since:
- 11.1.
-
of
default MutableShortIntMap of(short key1, int value1, short key2, int value2)
- Since:
- 11.1.
-
with
default MutableShortIntMap with(short key1, int value1, short key2, int value2)
- Since:
- 11.1.
-
of
default MutableShortIntMap of(short key1, int value1, short key2, int value2, short key3, int value3)
- Since:
- 11.1.
-
with
default MutableShortIntMap with(short key1, int value1, short key2, int value2, short key3, int value3)
- Since:
- 11.1.
-
of
default MutableShortIntMap of(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4)
- Since:
- 11.1.
-
with
default MutableShortIntMap with(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4)
- Since:
- 11.1.
-
ofInitialCapacity
MutableShortIntMap ofInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
withInitialCapacity
MutableShortIntMap withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
ofAll
MutableShortIntMap ofAll(ShortIntMap map)
Same aswithAll(ShortIntMap)
.
-
withAll
MutableShortIntMap withAll(ShortIntMap map)
-
from
<T> MutableShortIntMap from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Creates anMutableShortIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-