Class ImmutableCharByteMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableCharByteMapFactoryImpl
- All Implemented Interfaces:
ImmutableCharByteMapFactory
ImmutableCharByteMapFactoryImpl is a factory implementation which creates instances of type
ImmutableCharByteMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, CharFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction) Creates anImmutableCharByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asImmutableCharByteMapFactory.empty().of(char key, byte value) ofAll(CharByteMap map) with()Same asImmutableCharByteMapFactory.empty().with(char key, byte value) withAll(CharByteMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableCharByteMapFactoryImpl
public ImmutableCharByteMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableCharByteMapFactory
-
of
Description copied from interface:ImmutableCharByteMapFactorySame asImmutableCharByteMapFactory.empty().- Specified by:
ofin interfaceImmutableCharByteMapFactory
-
with
Description copied from interface:ImmutableCharByteMapFactorySame asImmutableCharByteMapFactory.empty().- Specified by:
within interfaceImmutableCharByteMapFactory
-
of
Description copied from interface:ImmutableCharByteMapFactory- Specified by:
ofin interfaceImmutableCharByteMapFactory
-
with
- Specified by:
within interfaceImmutableCharByteMapFactory
-
ofAll
Description copied from interface:ImmutableCharByteMapFactory- Specified by:
ofAllin interfaceImmutableCharByteMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableCharByteMapFactory
-
from
public <T> ImmutableCharByteMap from(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
-