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
Fields -
Constructor Summary
Constructors -
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 anImmutableCharObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<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:
emptyin interfaceImmutableCharObjectMapFactory
-
of
Description copied from interface:ImmutableCharObjectMapFactory- Specified by:
ofin interfaceImmutableCharObjectMapFactory
-
with
Description copied from interface:ImmutableCharObjectMapFactory- Specified by:
within interfaceImmutableCharObjectMapFactory
-
of
Description copied from interface:ImmutableCharObjectMapFactory- Specified by:
ofin interfaceImmutableCharObjectMapFactory
-
with
- Specified by:
within interfaceImmutableCharObjectMapFactory
-
ofAll
Description copied from interface:ImmutableCharObjectMapFactory- Specified by:
ofAllin interfaceImmutableCharObjectMapFactory
-
withAll
- Specified by:
withAllin 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:ImmutableCharObjectMapFactoryCreates anImmutableCharObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableCharObjectMapFactory
-