Interface MutableCharObjectMapFactory
-
- All Known Implementing Classes:
MutableCharObjectMapFactoryImpl
public interface MutableCharObjectMapFactory
A factory which creates instances of typeMutableCharObjectMap
. This file was automatically generated from template file mutablePrimitiveObjectMapFactory.stg.- Since:
- 6.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <V> MutableCharObjectMap<V>
empty()
<T,V>
MutableCharObjectMap<V>from(java.lang.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 Detail
-
empty
<V> MutableCharObjectMap<V> empty()
-
of
<V> MutableCharObjectMap<V> of()
Same asempty()
.
-
with
<V> MutableCharObjectMap<V> with()
Same asempty()
.
-
of
default <V> MutableCharObjectMap<V> of(char key, V value)
- Since:
- 11.1.
-
with
default <V> MutableCharObjectMap<V> with(char key, V value)
- Since:
- 11.1.
-
of
default <V> MutableCharObjectMap<V> of(char key1, V value1, char key2, V value2)
- Since:
- 11.1.
-
with
default <V> MutableCharObjectMap<V> with(char key1, V value1, char key2, V value2)
- 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
<V> MutableCharObjectMap<V> ofInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
withInitialCapacity
<V> MutableCharObjectMap<V> withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
ofAll
<V> MutableCharObjectMap<V> ofAll(CharObjectMap<? extends V> map)
Same aswithAll(CharObjectMap)
.
-
withAll
<V> MutableCharObjectMap<V> withAll(CharObjectMap<? extends V> map)
-
from
<T,V> MutableCharObjectMap<V> from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anMutableCharObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-