Interface MutableIntShortMapFactory
-
- All Known Implementing Classes:
MutableIntShortMapFactoryImpl
public interface MutableIntShortMapFactory
A factory which creates instances of typeMutableIntShortMap
. 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 MutableIntShortMap
empty()
<T> MutableIntShortMap
from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Creates anMutableIntShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.MutableIntShortMap
of()
Same asempty()
.default MutableIntShortMap
of(int key, short value)
default MutableIntShortMap
of(int key1, short value1, int key2, short value2)
default MutableIntShortMap
of(int key1, short value1, int key2, short value2, int key3, short value3)
default MutableIntShortMap
of(int key1, short value1, int key2, short value2, int key3, short value3, int key4, short value4)
MutableIntShortMap
ofAll(IntShortMap map)
Same aswithAll(IntShortMap)
.MutableIntShortMap
ofInitialCapacity(int capacity)
Same asempty()
.MutableIntShortMap
with()
Same asempty()
.default MutableIntShortMap
with(int key, short value)
default MutableIntShortMap
with(int key1, short value1, int key2, short value2)
default MutableIntShortMap
with(int key1, short value1, int key2, short value2, int key3, short value3)
default MutableIntShortMap
with(int key1, short value1, int key2, short value2, int key3, short value3, int key4, short value4)
MutableIntShortMap
withAll(IntShortMap map)
MutableIntShortMap
withInitialCapacity(int capacity)
Same asempty()
.
-
-
-
Method Detail
-
empty
MutableIntShortMap empty()
-
of
MutableIntShortMap of()
Same asempty()
.
-
with
MutableIntShortMap with()
Same asempty()
.
-
of
default MutableIntShortMap of(int key, short value)
- Since:
- 11.1.
-
with
default MutableIntShortMap with(int key, short value)
- Since:
- 11.1.
-
of
default MutableIntShortMap of(int key1, short value1, int key2, short value2)
- Since:
- 11.1.
-
with
default MutableIntShortMap with(int key1, short value1, int key2, short value2)
- Since:
- 11.1.
-
of
default MutableIntShortMap of(int key1, short value1, int key2, short value2, int key3, short value3)
- Since:
- 11.1.
-
with
default MutableIntShortMap with(int key1, short value1, int key2, short value2, int key3, short value3)
- Since:
- 11.1.
-
of
default MutableIntShortMap of(int key1, short value1, int key2, short value2, int key3, short value3, int key4, short value4)
- Since:
- 11.1.
-
with
default MutableIntShortMap with(int key1, short value1, int key2, short value2, int key3, short value3, int key4, short value4)
- Since:
- 11.1.
-
ofInitialCapacity
MutableIntShortMap ofInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
withInitialCapacity
MutableIntShortMap withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
ofAll
MutableIntShortMap ofAll(IntShortMap map)
Same aswithAll(IntShortMap)
.
-
withAll
MutableIntShortMap withAll(IntShortMap map)
-
from
<T> MutableIntShortMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Creates anMutableIntShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-