Class ImmutableIntFloatMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntFloatMapFactoryImpl
- All Implemented Interfaces:
ImmutableIntFloatMapFactory
ImmutableIntFloatMapFactoryImpl is a factory implementation which creates instances of type
ImmutableIntFloatMap.
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, IntFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction) Creates anImmutableIntFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asImmutableIntFloatMapFactory.empty().of(int key, float value) ofAll(IntFloatMap map) with()Same asImmutableIntFloatMapFactory.empty().with(int key, float value) withAll(IntFloatMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableIntFloatMapFactoryImpl
public ImmutableIntFloatMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableIntFloatMapFactory
-
of
Description copied from interface:ImmutableIntFloatMapFactorySame asImmutableIntFloatMapFactory.empty().- Specified by:
ofin interfaceImmutableIntFloatMapFactory
-
with
Description copied from interface:ImmutableIntFloatMapFactorySame asImmutableIntFloatMapFactory.empty().- Specified by:
within interfaceImmutableIntFloatMapFactory
-
of
Description copied from interface:ImmutableIntFloatMapFactory- Specified by:
ofin interfaceImmutableIntFloatMapFactory
-
with
- Specified by:
within interfaceImmutableIntFloatMapFactory
-
ofAll
Description copied from interface:ImmutableIntFloatMapFactory- Specified by:
ofAllin interfaceImmutableIntFloatMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableIntFloatMapFactory
-
from
public <T> ImmutableIntFloatMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction) Description copied from interface:ImmutableIntFloatMapFactoryCreates anImmutableIntFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableIntFloatMapFactory
-