Interface MutableObjectCharMapFactory
public interface MutableObjectCharMapFactory
A factory which creates instances of type
MutableObjectCharMap.
This file was automatically generated from template file mutableObjectPrimitiveMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and TypeMethodDescription<K> MutableObjectCharMap<K>empty()<T,K> MutableObjectCharMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, CharFunction<? super T> valueFunction) Creates anMutableObjectCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<K> MutableObjectCharMap<K>of()Same asempty().default <K> MutableObjectCharMap<K>of(K key, char value) default <K> MutableObjectCharMap<K>of(K key1, char value1, K key2, char value2) default <K> MutableObjectCharMap<K>of(K key1, char value1, K key2, char value2, K key3, char value3) default <K> MutableObjectCharMap<K>of(K key1, char value1, K key2, char value2, K key3, char value3, K key4, char value4) <K> MutableObjectCharMap<K>ofAll(ObjectCharMap<? extends K> map) Same aswithAll(ObjectCharMap).<K> MutableObjectCharMap<K>ofInitialCapacity(int capacity) Same asempty(). but takes in an initial capacity<K> MutableObjectCharMap<K>with()Same asempty().default <K> MutableObjectCharMap<K>with(K key, char value) default <K> MutableObjectCharMap<K>with(K key1, char value1, K key2, char value2) default <K> MutableObjectCharMap<K>with(K key1, char value1, K key2, char value2, K key3, char value3) default <K> MutableObjectCharMap<K>with(K key1, char value1, K key2, char value2, K key3, char value3, K key4, char value4) <K> MutableObjectCharMap<K>withAll(ObjectCharMap<? extends K> map) <K> MutableObjectCharMap<K>withInitialCapacity(int capacity) Same asempty(). but takes in an initial capacity
-
Method Details
-
empty
-
of
Same asempty(). -
with
Same asempty(). -
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
default <K> MutableObjectCharMap<K> with(K key1, char value1, K key2, char value2, K key3, char value3) - Since:
- 11.1.
-
of
default <K> MutableObjectCharMap<K> of(K key1, char value1, K key2, char value2, K key3, char value3) - Since:
- 11.1.
-
with
default <K> MutableObjectCharMap<K> with(K key1, char value1, K key2, char value2, K key3, char value3, K key4, char value4) - Since:
- 11.1.
-
of
default <K> MutableObjectCharMap<K> of(K key1, char value1, K key2, char value2, K key3, char value3, K key4, char 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(ObjectCharMap). -
withAll
-
from
<T,K> MutableObjectCharMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, CharFunction<? super T> valueFunction) Creates anMutableObjectCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-