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