Interface MutableIntShortMapFactory
-
public interface MutableIntShortMapFactoryA 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 MutableIntShortMapempty()<T> MutableIntShortMapfrom(Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Creates anMutableIntShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableIntShortMapof()Same asempty().default MutableIntShortMapof(int key, short value)default MutableIntShortMapof(int key1, short value1, int key2, short value2)default MutableIntShortMapof(int key1, short value1, int key2, short value2, int key3, short value3)default MutableIntShortMapof(int key1, short value1, int key2, short value2, int key3, short value3, int key4, short value4)MutableIntShortMapofAll(IntShortMap map)Same aswithAll(IntShortMap).MutableIntShortMapofInitialCapacity(int capacity)Same asempty().MutableIntShortMapwith()Same asempty().default MutableIntShortMapwith(int key, short value)default MutableIntShortMapwith(int key1, short value1, int key2, short value2)default MutableIntShortMapwith(int key1, short value1, int key2, short value2, int key3, short value3)default MutableIntShortMapwith(int key1, short value1, int key2, short value2, int key3, short value3, int key4, short value4)MutableIntShortMapwithAll(IntShortMap map)MutableIntShortMapwithInitialCapacity(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(Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Creates anMutableIntShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-
-