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