Class ImmutableIntLongMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntLongMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableIntLongMapFactory
public class ImmutableIntLongMapFactoryImpl extends java.lang.Object implements ImmutableIntLongMapFactory
ImmutableIntLongMapFactoryImpl is a factory implementation which creates instances of typeImmutableIntLongMap. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableIntLongMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntLongMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntLongMapempty()<T> ImmutableIntLongMapfrom(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)Creates anImmutableIntLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableIntLongMapof()Same asImmutableIntLongMapFactory.empty().ImmutableIntLongMapof(int key, long value)ImmutableIntLongMapofAll(IntLongMap map)ImmutableIntLongMapwith()Same asImmutableIntLongMapFactory.empty().ImmutableIntLongMapwith(int key, long value)ImmutableIntLongMapwithAll(IntLongMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntLongMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntLongMap empty()
- Specified by:
emptyin interfaceImmutableIntLongMapFactory
-
of
public ImmutableIntLongMap of()
Description copied from interface:ImmutableIntLongMapFactorySame asImmutableIntLongMapFactory.empty().- Specified by:
ofin interfaceImmutableIntLongMapFactory
-
with
public ImmutableIntLongMap with()
Description copied from interface:ImmutableIntLongMapFactorySame asImmutableIntLongMapFactory.empty().- Specified by:
within interfaceImmutableIntLongMapFactory
-
of
public ImmutableIntLongMap of(int key, long value)
Description copied from interface:ImmutableIntLongMapFactory- Specified by:
ofin interfaceImmutableIntLongMapFactory
-
with
public ImmutableIntLongMap with(int key, long value)
- Specified by:
within interfaceImmutableIntLongMapFactory
-
ofAll
public ImmutableIntLongMap ofAll(IntLongMap map)
Description copied from interface:ImmutableIntLongMapFactory- Specified by:
ofAllin interfaceImmutableIntLongMapFactory
-
withAll
public ImmutableIntLongMap withAll(IntLongMap map)
- Specified by:
withAllin interfaceImmutableIntLongMapFactory
-
from
public <T> ImmutableIntLongMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
Description copied from interface:ImmutableIntLongMapFactoryCreates anImmutableIntLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableIntLongMapFactory
-
-