Class ImmutableIntFloatMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntFloatMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableIntFloatMapFactory
public class ImmutableIntFloatMapFactoryImpl extends java.lang.Object implements ImmutableIntFloatMapFactory
ImmutableIntFloatMapFactoryImpl is a factory implementation which creates instances of typeImmutableIntFloatMap. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableIntFloatMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntFloatMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntFloatMapempty()<T> ImmutableIntFloatMapfrom(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction)Creates anImmutableIntFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableIntFloatMapof()Same asImmutableIntFloatMapFactory.empty().ImmutableIntFloatMapof(int key, float value)ImmutableIntFloatMapofAll(IntFloatMap map)ImmutableIntFloatMapwith()Same asImmutableIntFloatMapFactory.empty().ImmutableIntFloatMapwith(int key, float value)ImmutableIntFloatMapwithAll(IntFloatMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntFloatMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntFloatMap empty()
- Specified by:
emptyin interfaceImmutableIntFloatMapFactory
-
of
public ImmutableIntFloatMap of()
Description copied from interface:ImmutableIntFloatMapFactorySame asImmutableIntFloatMapFactory.empty().- Specified by:
ofin interfaceImmutableIntFloatMapFactory
-
with
public ImmutableIntFloatMap with()
Description copied from interface:ImmutableIntFloatMapFactorySame asImmutableIntFloatMapFactory.empty().- Specified by:
within interfaceImmutableIntFloatMapFactory
-
of
public ImmutableIntFloatMap of(int key, float value)
Description copied from interface:ImmutableIntFloatMapFactory- Specified by:
ofin interfaceImmutableIntFloatMapFactory
-
with
public ImmutableIntFloatMap with(int key, float value)
- Specified by:
within interfaceImmutableIntFloatMapFactory
-
ofAll
public ImmutableIntFloatMap ofAll(IntFloatMap map)
Description copied from interface:ImmutableIntFloatMapFactory- Specified by:
ofAllin interfaceImmutableIntFloatMapFactory
-
withAll
public ImmutableIntFloatMap withAll(IntFloatMap map)
- Specified by:
withAllin interfaceImmutableIntFloatMapFactory
-
from
public <T> ImmutableIntFloatMap from(java.lang.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
-
-