Class ImmutableShortFloatMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableShortFloatMapFactoryImpl
- All Implemented Interfaces:
ImmutableShortFloatMapFactory
public class ImmutableShortFloatMapFactoryImpl
extends Object
implements ImmutableShortFloatMapFactory
ImmutableShortFloatMapFactoryImpl is a factory implementation which creates instances of type
ImmutableShortFloatMap
.
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, FloatFunction<? super T> valueFunction) Creates anImmutableShortFloatMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
of
(short key, float value) ofAll
(ShortFloatMap map) with()
with
(short key, float value) withAll
(ShortFloatMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableShortFloatMapFactoryImpl
public ImmutableShortFloatMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableShortFloatMapFactory
-
of
Description copied from interface:ImmutableShortFloatMapFactory
- Specified by:
of
in interfaceImmutableShortFloatMapFactory
-
with
Description copied from interface:ImmutableShortFloatMapFactory
- Specified by:
with
in interfaceImmutableShortFloatMapFactory
-
of
Description copied from interface:ImmutableShortFloatMapFactory
- Specified by:
of
in interfaceImmutableShortFloatMapFactory
-
with
- Specified by:
with
in interfaceImmutableShortFloatMapFactory
-
ofAll
Description copied from interface:ImmutableShortFloatMapFactory
- Specified by:
ofAll
in interfaceImmutableShortFloatMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableShortFloatMapFactory
-
from
public <T> ImmutableShortFloatMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction) Description copied from interface:ImmutableShortFloatMapFactory
Creates anImmutableShortFloatMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableShortFloatMapFactory
-