Class ImmutableLongIntMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableLongIntMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableLongIntMapFactory
public class ImmutableLongIntMapFactoryImpl extends java.lang.Object implements ImmutableLongIntMapFactory
ImmutableLongIntMapFactoryImpl is a factory implementation which creates instances of typeImmutableLongIntMap. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableLongIntMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableLongIntMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableLongIntMapempty()<T> ImmutableLongIntMapfrom(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)Creates anImmutableLongIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableLongIntMapof()Same asImmutableLongIntMapFactory.empty().ImmutableLongIntMapof(long key, int value)ImmutableLongIntMapofAll(LongIntMap map)ImmutableLongIntMapwith()Same asImmutableLongIntMapFactory.empty().ImmutableLongIntMapwith(long key, int value)ImmutableLongIntMapwithAll(LongIntMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableLongIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableLongIntMap empty()
- Specified by:
emptyin interfaceImmutableLongIntMapFactory
-
of
public ImmutableLongIntMap of()
Description copied from interface:ImmutableLongIntMapFactorySame asImmutableLongIntMapFactory.empty().- Specified by:
ofin interfaceImmutableLongIntMapFactory
-
with
public ImmutableLongIntMap with()
Description copied from interface:ImmutableLongIntMapFactorySame asImmutableLongIntMapFactory.empty().- Specified by:
within interfaceImmutableLongIntMapFactory
-
of
public ImmutableLongIntMap of(long key, int value)
Description copied from interface:ImmutableLongIntMapFactory- Specified by:
ofin interfaceImmutableLongIntMapFactory
-
with
public ImmutableLongIntMap with(long key, int value)
- Specified by:
within interfaceImmutableLongIntMapFactory
-
ofAll
public ImmutableLongIntMap ofAll(LongIntMap map)
Description copied from interface:ImmutableLongIntMapFactory- Specified by:
ofAllin interfaceImmutableLongIntMapFactory
-
withAll
public ImmutableLongIntMap withAll(LongIntMap map)
- Specified by:
withAllin interfaceImmutableLongIntMapFactory
-
from
public <T> ImmutableLongIntMap from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Description copied from interface:ImmutableLongIntMapFactoryCreates anImmutableLongIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableLongIntMapFactory
-
-