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 typeImmutableCharObjectMap
. This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableCharObjectMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableCharObjectMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
<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 Detail
-
INSTANCE
public static final ImmutableCharObjectMapFactory INSTANCE
-
-
Method Detail
-
empty
public <V> ImmutableCharObjectMap<V> empty()
- Specified by:
empty
in interfaceImmutableCharObjectMapFactory
-
of
public <V> ImmutableCharObjectMap<V> of()
- Specified by:
of
in interfaceImmutableCharObjectMapFactory
-
with
public <V> ImmutableCharObjectMap<V> with()
- Specified by:
with
in interfaceImmutableCharObjectMapFactory
-
of
public <V> ImmutableCharObjectMap<V> of(char key, V value)
- Specified by:
of
in interfaceImmutableCharObjectMapFactory
-
with
public <V> ImmutableCharObjectMap<V> with(char key, V value)
- Specified by:
with
in interfaceImmutableCharObjectMapFactory
-
ofAll
public <V> ImmutableCharObjectMap<V> ofAll(CharObjectMap<? extends V> map)
- Specified by:
ofAll
in interfaceImmutableCharObjectMapFactory
-
withAll
public <V> ImmutableCharObjectMap<V> withAll(CharObjectMap<? extends V> map)
- 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)
- Specified by:
from
in interfaceImmutableCharObjectMapFactory
-
-