Class ImmutableDoubleShortMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableDoubleShortMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableDoubleShortMapFactory
public class ImmutableDoubleShortMapFactoryImpl extends java.lang.Object implements ImmutableDoubleShortMapFactory
ImmutableDoubleShortMapFactoryImpl is a factory implementation which creates instances of typeImmutableDoubleShortMap
. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableDoubleShortMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableDoubleShortMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableDoubleShortMap
empty()
<T> ImmutableDoubleShortMap
from(java.lang.Iterable<T> iterable, DoubleFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Creates anImmutableDoubleShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableDoubleShortMap
of()
ImmutableDoubleShortMap
of(double key, short value)
ImmutableDoubleShortMap
ofAll(DoubleShortMap map)
ImmutableDoubleShortMap
with()
ImmutableDoubleShortMap
with(double key, short value)
ImmutableDoubleShortMap
withAll(DoubleShortMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableDoubleShortMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableDoubleShortMap empty()
- Specified by:
empty
in interfaceImmutableDoubleShortMapFactory
-
of
public ImmutableDoubleShortMap of()
Description copied from interface:ImmutableDoubleShortMapFactory
- Specified by:
of
in interfaceImmutableDoubleShortMapFactory
-
with
public ImmutableDoubleShortMap with()
Description copied from interface:ImmutableDoubleShortMapFactory
- Specified by:
with
in interfaceImmutableDoubleShortMapFactory
-
of
public ImmutableDoubleShortMap of(double key, short value)
Description copied from interface:ImmutableDoubleShortMapFactory
- Specified by:
of
in interfaceImmutableDoubleShortMapFactory
-
with
public ImmutableDoubleShortMap with(double key, short value)
- Specified by:
with
in interfaceImmutableDoubleShortMapFactory
-
ofAll
public ImmutableDoubleShortMap ofAll(DoubleShortMap map)
Description copied from interface:ImmutableDoubleShortMapFactory
- Specified by:
ofAll
in interfaceImmutableDoubleShortMapFactory
-
withAll
public ImmutableDoubleShortMap withAll(DoubleShortMap map)
- Specified by:
withAll
in interfaceImmutableDoubleShortMapFactory
-
from
public <T> ImmutableDoubleShortMap from(java.lang.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
-
-