Class ImmutableFloatLongMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableFloatLongMapFactoryImpl
- All Implemented Interfaces:
ImmutableFloatLongMapFactory
public class ImmutableFloatLongMapFactoryImpl
extends Object
implements ImmutableFloatLongMapFactory
ImmutableFloatLongMapFactoryImpl is a factory implementation which creates instances of type
ImmutableFloatLongMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anImmutableFloatLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asImmutableFloatLongMapFactory.empty().of(float key, long value) ofAll(FloatLongMap map) with()Same asImmutableFloatLongMapFactory.empty().with(float key, long value) withAll(FloatLongMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableFloatLongMapFactoryImpl
public ImmutableFloatLongMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableFloatLongMapFactory
-
of
Description copied from interface:ImmutableFloatLongMapFactorySame asImmutableFloatLongMapFactory.empty().- Specified by:
ofin interfaceImmutableFloatLongMapFactory
-
with
Description copied from interface:ImmutableFloatLongMapFactorySame asImmutableFloatLongMapFactory.empty().- Specified by:
within interfaceImmutableFloatLongMapFactory
-
of
Description copied from interface:ImmutableFloatLongMapFactory- Specified by:
ofin interfaceImmutableFloatLongMapFactory
-
with
- Specified by:
within interfaceImmutableFloatLongMapFactory
-
ofAll
Description copied from interface:ImmutableFloatLongMapFactory- Specified by:
ofAllin interfaceImmutableFloatLongMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableFloatLongMapFactory
-
from
public <T> ImmutableFloatLongMap from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Description copied from interface:ImmutableFloatLongMapFactoryCreates anImmutableFloatLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableFloatLongMapFactory
-