Class ImmutableCharShortMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableCharShortMapFactoryImpl
- All Implemented Interfaces:
ImmutableCharShortMapFactory
public class ImmutableCharShortMapFactoryImpl
extends Object
implements ImmutableCharShortMapFactory
ImmutableCharShortMapFactoryImpl is a factory implementation which creates instances of type
ImmutableCharShortMap
.
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, ShortFunction<? super T> valueFunction) Creates anImmutableCharShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asImmutableCharShortMapFactory.empty()
.of
(char key, short value) ofAll
(CharShortMap map) with()
Same asImmutableCharShortMapFactory.empty()
.with
(char key, short value) withAll
(CharShortMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableCharShortMapFactoryImpl
public ImmutableCharShortMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableCharShortMapFactory
-
of
Description copied from interface:ImmutableCharShortMapFactory
Same asImmutableCharShortMapFactory.empty()
.- Specified by:
of
in interfaceImmutableCharShortMapFactory
-
with
Description copied from interface:ImmutableCharShortMapFactory
Same asImmutableCharShortMapFactory.empty()
.- Specified by:
with
in interfaceImmutableCharShortMapFactory
-
of
Description copied from interface:ImmutableCharShortMapFactory
- Specified by:
of
in interfaceImmutableCharShortMapFactory
-
with
- Specified by:
with
in interfaceImmutableCharShortMapFactory
-
ofAll
Description copied from interface:ImmutableCharShortMapFactory
- Specified by:
ofAll
in interfaceImmutableCharShortMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableCharShortMapFactory
-
from
public <T> ImmutableCharShortMap from(Iterable<T> iterable, CharFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Description copied from interface:ImmutableCharShortMapFactory
Creates anImmutableCharShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableCharShortMapFactory
-