Interface MutableShortLongMapFactory
-
public interface MutableShortLongMapFactoryA factory which creates instances of typeMutableShortLongMap. 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 MutableShortLongMapempty()<T> MutableShortLongMapfrom(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)Creates anMutableShortLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableShortLongMapof()Same asempty().default MutableShortLongMapof(short key, long value)default MutableShortLongMapof(short key1, long value1, short key2, long value2)default MutableShortLongMapof(short key1, long value1, short key2, long value2, short key3, long value3)default MutableShortLongMapof(short key1, long value1, short key2, long value2, short key3, long value3, short key4, long value4)MutableShortLongMapofAll(ShortLongMap map)Same aswithAll(ShortLongMap).MutableShortLongMapofInitialCapacity(int capacity)Same asempty().MutableShortLongMapwith()Same asempty().default MutableShortLongMapwith(short key, long value)default MutableShortLongMapwith(short key1, long value1, short key2, long value2)default MutableShortLongMapwith(short key1, long value1, short key2, long value2, short key3, long value3)default MutableShortLongMapwith(short key1, long value1, short key2, long value2, short key3, long value3, short key4, long value4)MutableShortLongMapwithAll(ShortLongMap map)MutableShortLongMapwithInitialCapacity(int capacity)Same asempty().
-
-
-
Method Detail
-
empty
MutableShortLongMap empty()
-
of
MutableShortLongMap of()
Same asempty().
-
with
MutableShortLongMap with()
Same asempty().
-
of
default MutableShortLongMap of(short key, long value)
- Since:
- 11.1.
-
with
default MutableShortLongMap with(short key, long value)
- Since:
- 11.1.
-
of
default MutableShortLongMap of(short key1, long value1, short key2, long value2)
- Since:
- 11.1.
-
with
default MutableShortLongMap with(short key1, long value1, short key2, long value2)
- Since:
- 11.1.
-
of
default MutableShortLongMap of(short key1, long value1, short key2, long value2, short key3, long value3)
- Since:
- 11.1.
-
with
default MutableShortLongMap with(short key1, long value1, short key2, long value2, short key3, long value3)
- Since:
- 11.1.
-
of
default MutableShortLongMap of(short key1, long value1, short key2, long value2, short key3, long value3, short key4, long value4)
- Since:
- 11.1.
-
with
default MutableShortLongMap with(short key1, long value1, short key2, long value2, short key3, long value3, short key4, long value4)
- Since:
- 11.1.
-
ofInitialCapacity
MutableShortLongMap ofInitialCapacity(int capacity)
Same asempty(). but takes in an initial capacity
-
withInitialCapacity
MutableShortLongMap withInitialCapacity(int capacity)
Same asempty(). but takes in an initial capacity
-
ofAll
MutableShortLongMap ofAll(ShortLongMap map)
Same aswithAll(ShortLongMap).
-
withAll
MutableShortLongMap withAll(ShortLongMap map)
-
from
<T> MutableShortLongMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
Creates anMutableShortLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-
-