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