Interface MutableLongShortMapFactory
-
public interface MutableLongShortMapFactoryA factory which creates instances of typeMutableLongShortMap. 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 MutableLongShortMapempty()<T> MutableLongShortMapfrom(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Creates anMutableLongShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableLongShortMapof()Same asempty().default MutableLongShortMapof(long key, short value)default MutableLongShortMapof(long key1, short value1, long key2, short value2)default MutableLongShortMapof(long key1, short value1, long key2, short value2, long key3, short value3)default MutableLongShortMapof(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4)MutableLongShortMapofAll(LongShortMap map)Same aswithAll(LongShortMap).MutableLongShortMapofInitialCapacity(int capacity)Same asempty().MutableLongShortMapwith()Same asempty().default MutableLongShortMapwith(long key, short value)default MutableLongShortMapwith(long key1, short value1, long key2, short value2)default MutableLongShortMapwith(long key1, short value1, long key2, short value2, long key3, short value3)default MutableLongShortMapwith(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4)MutableLongShortMapwithAll(LongShortMap map)MutableLongShortMapwithInitialCapacity(int capacity)Same asempty().
-
-
-
Method Detail
-
empty
MutableLongShortMap empty()
-
of
MutableLongShortMap of()
Same asempty().
-
with
MutableLongShortMap with()
Same asempty().
-
of
default MutableLongShortMap of(long key, short value)
- Since:
- 11.1.
-
with
default MutableLongShortMap with(long key, short value)
- Since:
- 11.1.
-
of
default MutableLongShortMap of(long key1, short value1, long key2, short value2)
- Since:
- 11.1.
-
with
default MutableLongShortMap with(long key1, short value1, long key2, short value2)
- Since:
- 11.1.
-
of
default MutableLongShortMap of(long key1, short value1, long key2, short value2, long key3, short value3)
- Since:
- 11.1.
-
with
default MutableLongShortMap with(long key1, short value1, long key2, short value2, long key3, short value3)
- Since:
- 11.1.
-
of
default MutableLongShortMap of(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4)
- Since:
- 11.1.
-
with
default MutableLongShortMap with(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4)
- Since:
- 11.1.
-
ofInitialCapacity
MutableLongShortMap ofInitialCapacity(int capacity)
Same asempty(). but takes in an initial capacity
-
withInitialCapacity
MutableLongShortMap withInitialCapacity(int capacity)
Same asempty(). but takes in an initial capacity
-
ofAll
MutableLongShortMap ofAll(LongShortMap map)
Same aswithAll(LongShortMap).
-
withAll
MutableLongShortMap withAll(LongShortMap map)
-
from
<T> MutableLongShortMap from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Creates anMutableLongShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-
-