Class ImmutableLongIntMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableLongIntMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableLongIntMapFactory
public class ImmutableLongIntMapFactoryImpl extends 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(Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)ImmutableLongIntMapof()ImmutableLongIntMapof(long key, int value)ImmutableLongIntMapofAll(LongIntMap map)ImmutableLongIntMapwith()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()
- Specified by:
ofin interfaceImmutableLongIntMapFactory
-
with
public ImmutableLongIntMap with()
- Specified by:
within interfaceImmutableLongIntMapFactory
-
of
public ImmutableLongIntMap of(long key, int value)
- Specified by:
ofin interfaceImmutableLongIntMapFactory
-
with
public ImmutableLongIntMap with(long key, int value)
- Specified by:
within interfaceImmutableLongIntMapFactory
-
ofAll
public ImmutableLongIntMap ofAll(LongIntMap map)
- Specified by:
ofAllin interfaceImmutableLongIntMapFactory
-
withAll
public ImmutableLongIntMap withAll(LongIntMap map)
- Specified by:
withAllin interfaceImmutableLongIntMapFactory
-
from
public <T> ImmutableLongIntMap from(Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
- Specified by:
fromin interfaceImmutableLongIntMapFactory
-
-