Interface ImmutableCharObjectMapFactory
- All Known Implementing Classes:
ImmutableCharObjectMapFactoryImpl
public interface ImmutableCharObjectMapFactory
A factory which creates instances of type
ImmutableCharObjectMap
.
This file was automatically generated from template file immutablePrimitiveObjectMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and Type Method Description <V> ImmutableCharObjectMap<V>
empty()
<T, V> ImmutableCharObjectMap<V>
from(Iterable<T> iterable, CharFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anImmutableCharObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<V> ImmutableCharObjectMap<V>
of()
Same asempty()
.<V> ImmutableCharObjectMap<V>
of(char key, V value)
Same aswith(char, Object)
.<V> ImmutableCharObjectMap<V>
ofAll(CharObjectMap<? extends V> map)
Same aswithAll(CharObjectMap)
.<V> ImmutableCharObjectMap<V>
with()
Same asempty()
.<V> ImmutableCharObjectMap<V>
with(char key, V value)
<V> ImmutableCharObjectMap<V>
withAll(CharObjectMap<? extends V> map)
-
Method Details
-
empty
- Since:
- 6.0
-
of
Same asempty()
. -
with
Same asempty()
. -
of
Same aswith(char, Object)
. -
with
-
ofAll
Same aswithAll(CharObjectMap)
. -
withAll
-
from
<T, V> ImmutableCharObjectMap<V> from(Iterable<T> iterable, CharFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)Creates anImmutableCharObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-