public interface MutableShortShortMapFactory
MutableShortShortMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.| Modifier and Type | Method and Description |
|---|---|
MutableShortShortMap |
empty() |
<T> MutableShortShortMap |
from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableShortShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
MutableShortShortMap |
of()
Same as
empty(). |
default MutableShortShortMap |
of(short key,
short value) |
default MutableShortShortMap |
of(short key1,
short value1,
short key2,
short value2) |
default MutableShortShortMap |
of(short key1,
short value1,
short key2,
short value2,
short key3,
short value3) |
default MutableShortShortMap |
of(short key1,
short value1,
short key2,
short value2,
short key3,
short value3,
short key4,
short value4) |
MutableShortShortMap |
ofAll(ShortShortMap map)
Same as
withAll(ShortShortMap). |
MutableShortShortMap |
ofInitialCapacity(int capacity)
Same as
empty(). |
MutableShortShortMap |
with()
Same as
empty(). |
default MutableShortShortMap |
with(short key,
short value) |
default MutableShortShortMap |
with(short key1,
short value1,
short key2,
short value2) |
default MutableShortShortMap |
with(short key1,
short value1,
short key2,
short value2,
short key3,
short value3) |
default MutableShortShortMap |
with(short key1,
short value1,
short key2,
short value2,
short key3,
short value3,
short key4,
short value4) |
MutableShortShortMap |
withAll(ShortShortMap map) |
MutableShortShortMap |
withInitialCapacity(int capacity)
Same as
empty(). |
MutableShortShortMap empty()
MutableShortShortMap of()
empty().MutableShortShortMap with()
empty().default MutableShortShortMap of(short key, short value)
default MutableShortShortMap with(short key, short value)
default MutableShortShortMap of(short key1, short value1, short key2, short value2)
default MutableShortShortMap with(short key1, short value1, short key2, short value2)
default MutableShortShortMap of(short key1, short value1, short key2, short value2, short key3, short value3)
default MutableShortShortMap with(short key1, short value1, short key2, short value2, short key3, short value3)
default MutableShortShortMap of(short key1, short value1, short key2, short value2, short key3, short value3, short key4, short value4)
default MutableShortShortMap with(short key1, short value1, short key2, short value2, short key3, short value3, short key4, short value4)
MutableShortShortMap ofInitialCapacity(int capacity)
empty(). but takes in an initial capacityMutableShortShortMap withInitialCapacity(int capacity)
empty(). but takes in an initial capacityMutableShortShortMap ofAll(ShortShortMap map)
withAll(ShortShortMap).MutableShortShortMap withAll(ShortShortMap map)
<T> MutableShortShortMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
MutableShortShortMap from an Iterable<T> by applying keyFunction and valueFunction.Copyright © 2004–2023. All rights reserved.