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 ImmutableFloatLongMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableFloatLongMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableFloatLongMapempty()<T> ImmutableFloatLongMapfrom(java.lang.Iterable<T> iterable, FloatFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)Creates anImmutableFloatLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableFloatLongMapof()Same asImmutableFloatLongMapFactory.empty().ImmutableFloatLongMapof(float key, long value)ImmutableFloatLongMapofAll(FloatLongMap map)ImmutableFloatLongMapwith()Same asImmutableFloatLongMapFactory.empty().ImmutableFloatLongMapwith(float key, long value)ImmutableFloatLongMapwithAll(FloatLongMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableFloatLongMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableFloatLongMap empty()
- Specified by:
emptyin interfaceImmutableFloatLongMapFactory
-
of
public ImmutableFloatLongMap of()
Description copied from interface:ImmutableFloatLongMapFactorySame asImmutableFloatLongMapFactory.empty().- Specified by:
ofin interfaceImmutableFloatLongMapFactory
-
with
public ImmutableFloatLongMap with()
Description copied from interface:ImmutableFloatLongMapFactorySame asImmutableFloatLongMapFactory.empty().- Specified by:
within interfaceImmutableFloatLongMapFactory
-
of
public ImmutableFloatLongMap of(float key, long value)
Description copied from interface:ImmutableFloatLongMapFactory- Specified by:
ofin interfaceImmutableFloatLongMapFactory
-
with
public ImmutableFloatLongMap with(float key, long value)
- Specified by:
within interfaceImmutableFloatLongMapFactory
-
ofAll
public ImmutableFloatLongMap ofAll(FloatLongMap map)
Description copied from interface:ImmutableFloatLongMapFactory- Specified by:
ofAllin interfaceImmutableFloatLongMapFactory
-
withAll
public ImmutableFloatLongMap withAll(FloatLongMap map)
- Specified by:
withAllin interfaceImmutableFloatLongMapFactory
-
from
public <T> ImmutableFloatLongMap from(java.lang.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
-
-