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