Class ImmutableFloatDoubleMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableFloatDoubleMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableFloatDoubleMapFactory
public class ImmutableFloatDoubleMapFactoryImpl extends java.lang.Object implements ImmutableFloatDoubleMapFactory
ImmutableFloatDoubleMapFactoryImpl is a factory implementation which creates instances of typeImmutableFloatDoubleMap
. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableFloatDoubleMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableFloatDoubleMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableFloatDoubleMap
empty()
<T> ImmutableFloatDoubleMap
from(java.lang.Iterable<T> iterable, FloatFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
Creates anImmutableFloatDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableFloatDoubleMap
of()
ImmutableFloatDoubleMap
of(float key, double value)
ImmutableFloatDoubleMap
ofAll(FloatDoubleMap map)
ImmutableFloatDoubleMap
with()
ImmutableFloatDoubleMap
with(float key, double value)
ImmutableFloatDoubleMap
withAll(FloatDoubleMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableFloatDoubleMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableFloatDoubleMap empty()
- Specified by:
empty
in interfaceImmutableFloatDoubleMapFactory
-
of
public ImmutableFloatDoubleMap of()
Description copied from interface:ImmutableFloatDoubleMapFactory
- Specified by:
of
in interfaceImmutableFloatDoubleMapFactory
-
with
public ImmutableFloatDoubleMap with()
Description copied from interface:ImmutableFloatDoubleMapFactory
- Specified by:
with
in interfaceImmutableFloatDoubleMapFactory
-
of
public ImmutableFloatDoubleMap of(float key, double value)
Description copied from interface:ImmutableFloatDoubleMapFactory
- Specified by:
of
in interfaceImmutableFloatDoubleMapFactory
-
with
public ImmutableFloatDoubleMap with(float key, double value)
- Specified by:
with
in interfaceImmutableFloatDoubleMapFactory
-
ofAll
public ImmutableFloatDoubleMap ofAll(FloatDoubleMap map)
Description copied from interface:ImmutableFloatDoubleMapFactory
- Specified by:
ofAll
in interfaceImmutableFloatDoubleMapFactory
-
withAll
public ImmutableFloatDoubleMap withAll(FloatDoubleMap map)
- Specified by:
withAll
in interfaceImmutableFloatDoubleMapFactory
-
from
public <T> ImmutableFloatDoubleMap from(java.lang.Iterable<T> iterable, FloatFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
Description copied from interface:ImmutableFloatDoubleMapFactory
Creates anImmutableFloatDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableFloatDoubleMapFactory
-
-