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 ImmutableLongIntMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableLongIntMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableLongIntMap
empty()
<T> ImmutableLongIntMap
from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Creates anImmutableLongIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableLongIntMap
of()
Same asImmutableLongIntMapFactory.empty()
.ImmutableLongIntMap
of(long key, int value)
ImmutableLongIntMap
ofAll(LongIntMap map)
ImmutableLongIntMap
with()
Same asImmutableLongIntMapFactory.empty()
.ImmutableLongIntMap
with(long key, int value)
ImmutableLongIntMap
withAll(LongIntMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableLongIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableLongIntMap empty()
- Specified by:
empty
in interfaceImmutableLongIntMapFactory
-
of
public ImmutableLongIntMap of()
Description copied from interface:ImmutableLongIntMapFactory
Same asImmutableLongIntMapFactory.empty()
.- Specified by:
of
in interfaceImmutableLongIntMapFactory
-
with
public ImmutableLongIntMap with()
Description copied from interface:ImmutableLongIntMapFactory
Same asImmutableLongIntMapFactory.empty()
.- Specified by:
with
in interfaceImmutableLongIntMapFactory
-
of
public ImmutableLongIntMap of(long key, int value)
Description copied from interface:ImmutableLongIntMapFactory
- Specified by:
of
in interfaceImmutableLongIntMapFactory
-
with
public ImmutableLongIntMap with(long key, int value)
- Specified by:
with
in interfaceImmutableLongIntMapFactory
-
ofAll
public ImmutableLongIntMap ofAll(LongIntMap map)
Description copied from interface:ImmutableLongIntMapFactory
- Specified by:
ofAll
in interfaceImmutableLongIntMapFactory
-
withAll
public ImmutableLongIntMap withAll(LongIntMap map)
- Specified by:
withAll
in interfaceImmutableLongIntMapFactory
-
from
public <T> ImmutableLongIntMap from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Description copied from interface:ImmutableLongIntMapFactory
Creates anImmutableLongIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableLongIntMapFactory
-
-