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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, CharFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction) Creates anImmutableCharByteMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.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:
empty
in interfaceImmutableCharByteMapFactory
-
of
Description copied from interface:ImmutableCharByteMapFactory
Same asImmutableCharByteMapFactory.empty()
.- Specified by:
of
in interfaceImmutableCharByteMapFactory
-
with
Description copied from interface:ImmutableCharByteMapFactory
Same asImmutableCharByteMapFactory.empty()
.- Specified by:
with
in interfaceImmutableCharByteMapFactory
-
of
Description copied from interface:ImmutableCharByteMapFactory
- Specified by:
of
in interfaceImmutableCharByteMapFactory
-
with
- Specified by:
with
in interfaceImmutableCharByteMapFactory
-
ofAll
Description copied from interface:ImmutableCharByteMapFactory
- Specified by:
ofAll
in interfaceImmutableCharByteMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableCharByteMapFactory
-
from
public <T> ImmutableCharByteMap from(Iterable<T> iterable, CharFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction) Description copied from interface:ImmutableCharByteMapFactory
Creates anImmutableCharByteMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableCharByteMapFactory
-