Class ImmutableCharIntMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableCharIntMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableCharIntMapFactory
public class ImmutableCharIntMapFactoryImpl extends java.lang.Object implements ImmutableCharIntMapFactory
ImmutableCharIntMapFactoryImpl is a factory implementation which creates instances of typeImmutableCharIntMap
. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableCharIntMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableCharIntMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableCharIntMap
empty()
<T> ImmutableCharIntMap
from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Creates anImmutableCharIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableCharIntMap
of()
Same asImmutableCharIntMapFactory.empty()
.ImmutableCharIntMap
of(char key, int value)
ImmutableCharIntMap
ofAll(CharIntMap map)
ImmutableCharIntMap
with()
Same asImmutableCharIntMapFactory.empty()
.ImmutableCharIntMap
with(char key, int value)
ImmutableCharIntMap
withAll(CharIntMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableCharIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableCharIntMap empty()
- Specified by:
empty
in interfaceImmutableCharIntMapFactory
-
of
public ImmutableCharIntMap of()
Description copied from interface:ImmutableCharIntMapFactory
Same asImmutableCharIntMapFactory.empty()
.- Specified by:
of
in interfaceImmutableCharIntMapFactory
-
with
public ImmutableCharIntMap with()
Description copied from interface:ImmutableCharIntMapFactory
Same asImmutableCharIntMapFactory.empty()
.- Specified by:
with
in interfaceImmutableCharIntMapFactory
-
of
public ImmutableCharIntMap of(char key, int value)
Description copied from interface:ImmutableCharIntMapFactory
- Specified by:
of
in interfaceImmutableCharIntMapFactory
-
with
public ImmutableCharIntMap with(char key, int value)
- Specified by:
with
in interfaceImmutableCharIntMapFactory
-
ofAll
public ImmutableCharIntMap ofAll(CharIntMap map)
Description copied from interface:ImmutableCharIntMapFactory
- Specified by:
ofAll
in interfaceImmutableCharIntMapFactory
-
withAll
public ImmutableCharIntMap withAll(CharIntMap map)
- Specified by:
withAll
in interfaceImmutableCharIntMapFactory
-
from
public <T> ImmutableCharIntMap from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Description copied from interface:ImmutableCharIntMapFactory
Creates anImmutableCharIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableCharIntMapFactory
-
-