Interface MutableCharObjectMapFactory
- All Known Implementing Classes:
MutableCharObjectMapFactoryImpl
public interface MutableCharObjectMapFactory
A factory which creates instances of type
MutableCharObjectMap
.
This file was automatically generated from template file mutablePrimitiveObjectMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and TypeMethodDescription<V> MutableCharObjectMap<V>
empty()
<T,
V> MutableCharObjectMap<V> from
(Iterable<T> iterable, CharFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anMutableCharObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<V> MutableCharObjectMap<V>
of()
Same asempty()
.default <V> MutableCharObjectMap<V>
of
(char key, V value) default <V> MutableCharObjectMap<V>
of
(char key1, V value1, char key2, V value2) default <V> MutableCharObjectMap<V>
of
(char key1, V value1, char key2, V value2, char key3, V value3) default <V> MutableCharObjectMap<V>
of
(char key1, V value1, char key2, V value2, char key3, V value3, char key4, V value4) <V> MutableCharObjectMap<V>
ofAll
(CharObjectMap<? extends V> map) Same aswithAll(CharObjectMap)
.<V> MutableCharObjectMap<V>
ofInitialCapacity
(int capacity) Same asempty()
.<V> MutableCharObjectMap<V>
with()
Same asempty()
.default <V> MutableCharObjectMap<V>
with
(char key, V value) default <V> MutableCharObjectMap<V>
with
(char key1, V value1, char key2, V value2) default <V> MutableCharObjectMap<V>
with
(char key1, V value1, char key2, V value2, char key3, V value3) default <V> MutableCharObjectMap<V>
with
(char key1, V value1, char key2, V value2, char key3, V value3, char key4, V value4) <V> MutableCharObjectMap<V>
withAll
(CharObjectMap<? extends V> map) <V> MutableCharObjectMap<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> MutableCharObjectMap<V> of(char key1, V value1, char key2, V value2, char key3, V value3) - Since:
- 11.1.
-
with
default <V> MutableCharObjectMap<V> with(char key1, V value1, char key2, V value2, char key3, V value3) - Since:
- 11.1.
-
of
default <V> MutableCharObjectMap<V> of(char key1, V value1, char key2, V value2, char key3, V value3, char key4, V value4) - Since:
- 11.1.
-
with
default <V> MutableCharObjectMap<V> with(char key1, V value1, char key2, V value2, char key3, V value3, char 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(CharObjectMap)
. -
withAll
-
from
<T,V> MutableCharObjectMap<V> from(Iterable<T> iterable, CharFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anMutableCharObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-