Class ImmutableCharByteMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableCharByteMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableCharByteMapFactory
public class ImmutableCharByteMapFactoryImpl extends java.lang.Object implements ImmutableCharByteMapFactory
ImmutableCharByteMapFactoryImpl is a factory implementation which creates instances of typeImmutableCharByteMap. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableCharByteMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableCharByteMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableCharByteMapempty()<T> ImmutableCharByteMapfrom(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)Creates anImmutableCharByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableCharByteMapof()Same asImmutableCharByteMapFactory.empty().ImmutableCharByteMapof(char key, byte value)ImmutableCharByteMapofAll(CharByteMap map)ImmutableCharByteMapwith()Same asImmutableCharByteMapFactory.empty().ImmutableCharByteMapwith(char key, byte value)ImmutableCharByteMapwithAll(CharByteMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableCharByteMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableCharByteMap empty()
- Specified by:
emptyin interfaceImmutableCharByteMapFactory
-
of
public ImmutableCharByteMap of()
Description copied from interface:ImmutableCharByteMapFactorySame asImmutableCharByteMapFactory.empty().- Specified by:
ofin interfaceImmutableCharByteMapFactory
-
with
public ImmutableCharByteMap with()
Description copied from interface:ImmutableCharByteMapFactorySame asImmutableCharByteMapFactory.empty().- Specified by:
within interfaceImmutableCharByteMapFactory
-
of
public ImmutableCharByteMap of(char key, byte value)
Description copied from interface:ImmutableCharByteMapFactory- Specified by:
ofin interfaceImmutableCharByteMapFactory
-
with
public ImmutableCharByteMap with(char key, byte value)
- Specified by:
within interfaceImmutableCharByteMapFactory
-
ofAll
public ImmutableCharByteMap ofAll(CharByteMap map)
Description copied from interface:ImmutableCharByteMapFactory- Specified by:
ofAllin interfaceImmutableCharByteMapFactory
-
withAll
public ImmutableCharByteMap withAll(CharByteMap map)
- Specified by:
withAllin interfaceImmutableCharByteMapFactory
-
from
public <T> ImmutableCharByteMap from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)
Description copied from interface:ImmutableCharByteMapFactoryCreates anImmutableCharByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableCharByteMapFactory
-
-