Interface MutableShortObjectMapFactory
- All Known Implementing Classes:
MutableShortObjectMapFactoryImpl
public interface MutableShortObjectMapFactory
A factory which creates instances of type
MutableShortObjectMap
.
This file was automatically generated from template file mutablePrimitiveObjectMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and TypeMethodDescription<V> MutableShortObjectMap<V>
empty()
<T,
V> MutableShortObjectMap<V> from
(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anMutableShortObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<V> MutableShortObjectMap<V>
of()
Same asempty()
.default <V> MutableShortObjectMap<V>
of
(short key, V value) default <V> MutableShortObjectMap<V>
of
(short key1, V value1, short key2, V value2) default <V> MutableShortObjectMap<V>
of
(short key1, V value1, short key2, V value2, short key3, V value3) default <V> MutableShortObjectMap<V>
of
(short key1, V value1, short key2, V value2, short key3, V value3, short key4, V value4) <V> MutableShortObjectMap<V>
ofAll
(ShortObjectMap<? extends V> map) Same aswithAll(ShortObjectMap)
.<V> MutableShortObjectMap<V>
ofInitialCapacity
(int capacity) Same asempty()
.<V> MutableShortObjectMap<V>
with()
Same asempty()
.default <V> MutableShortObjectMap<V>
with
(short key, V value) default <V> MutableShortObjectMap<V>
with
(short key1, V value1, short key2, V value2) default <V> MutableShortObjectMap<V>
with
(short key1, V value1, short key2, V value2, short key3, V value3) default <V> MutableShortObjectMap<V>
with
(short key1, V value1, short key2, V value2, short key3, V value3, short key4, V value4) <V> MutableShortObjectMap<V>
withAll
(ShortObjectMap<? extends V> map) <V> MutableShortObjectMap<V>
withInitialCapacity
(int capacity) Same asempty()
.
-
Method Details
-
empty
-
of
Same asempty()
. -
with
Same asempty()
. -
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
default <V> MutableShortObjectMap<V> of(short key1, V value1, short key2, V value2, short key3, V value3) - Since:
- 11.1.
-
with
default <V> MutableShortObjectMap<V> with(short key1, V value1, short key2, V value2, short key3, V value3) - Since:
- 11.1.
-
of
default <V> MutableShortObjectMap<V> of(short key1, V value1, short key2, V value2, short key3, V value3, short key4, V value4) - Since:
- 11.1.
-
with
default <V> MutableShortObjectMap<V> with(short key1, V value1, short key2, V value2, short key3, V value3, short key4, V value4) - Since:
- 11.1.
-
ofInitialCapacity
Same asempty()
. but takes in an initial capacity -
withInitialCapacity
Same asempty()
. but takes in an initial capacity -
ofAll
Same aswithAll(ShortObjectMap)
. -
withAll
-
from
<T,V> MutableShortObjectMap<V> from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anMutableShortObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-