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