Class ImmutableCharObjectMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableCharObjectMapFactoryImpl
- All Implemented Interfaces:
ImmutableCharObjectMapFactory
public class ImmutableCharObjectMapFactoryImpl
extends Object
implements ImmutableCharObjectMapFactory
ImmutableCharObjectMapFactoryImpl is a factory implementation which creates instances of type
ImmutableCharObjectMap
.
This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<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()
<V> ImmutableCharObjectMap<V>
of
(char key, V value) <V> ImmutableCharObjectMap<V>
ofAll
(CharObjectMap<? extends V> map) <V> ImmutableCharObjectMap<V>
with()
<V> ImmutableCharObjectMap<V>
with
(char key, V value) <V> ImmutableCharObjectMap<V>
withAll
(CharObjectMap<? extends V> map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableCharObjectMapFactoryImpl
public ImmutableCharObjectMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableCharObjectMapFactory
-
of
Description copied from interface:ImmutableCharObjectMapFactory
- Specified by:
of
in interfaceImmutableCharObjectMapFactory
-
with
Description copied from interface:ImmutableCharObjectMapFactory
- Specified by:
with
in interfaceImmutableCharObjectMapFactory
-
of
Description copied from interface:ImmutableCharObjectMapFactory
- Specified by:
of
in interfaceImmutableCharObjectMapFactory
-
with
- Specified by:
with
in interfaceImmutableCharObjectMapFactory
-
ofAll
Description copied from interface:ImmutableCharObjectMapFactory
- Specified by:
ofAll
in interfaceImmutableCharObjectMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableCharObjectMapFactory
-
from
public <T,V> ImmutableCharObjectMap<V> from(Iterable<T> iterable, CharFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Description copied from interface:ImmutableCharObjectMapFactory
Creates anImmutableCharObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableCharObjectMapFactory
-