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 ImmutableCharIntMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableCharIntMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableCharIntMapempty()<T> ImmutableCharIntMapfrom(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)Creates anImmutableCharIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableCharIntMapof()Same asImmutableCharIntMapFactory.empty().ImmutableCharIntMapof(char key, int value)ImmutableCharIntMapofAll(CharIntMap map)ImmutableCharIntMapwith()Same asImmutableCharIntMapFactory.empty().ImmutableCharIntMapwith(char key, int value)ImmutableCharIntMapwithAll(CharIntMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableCharIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableCharIntMap empty()
- Specified by:
emptyin interfaceImmutableCharIntMapFactory
-
of
public ImmutableCharIntMap of()
Description copied from interface:ImmutableCharIntMapFactorySame asImmutableCharIntMapFactory.empty().- Specified by:
ofin interfaceImmutableCharIntMapFactory
-
with
public ImmutableCharIntMap with()
Description copied from interface:ImmutableCharIntMapFactorySame asImmutableCharIntMapFactory.empty().- Specified by:
within interfaceImmutableCharIntMapFactory
-
of
public ImmutableCharIntMap of(char key, int value)
Description copied from interface:ImmutableCharIntMapFactory- Specified by:
ofin interfaceImmutableCharIntMapFactory
-
with
public ImmutableCharIntMap with(char key, int value)
- Specified by:
within interfaceImmutableCharIntMapFactory
-
ofAll
public ImmutableCharIntMap ofAll(CharIntMap map)
Description copied from interface:ImmutableCharIntMapFactory- Specified by:
ofAllin interfaceImmutableCharIntMapFactory
-
withAll
public ImmutableCharIntMap withAll(CharIntMap map)
- Specified by:
withAllin interfaceImmutableCharIntMapFactory
-
from
public <T> ImmutableCharIntMap from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Description copied from interface:ImmutableCharIntMapFactoryCreates anImmutableCharIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableCharIntMapFactory
-
-