Class ImmutableIntLongMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntLongMapFactoryImpl
- All Implemented Interfaces:
ImmutableIntLongMapFactory
ImmutableIntLongMapFactoryImpl is a factory implementation which creates instances of type
ImmutableIntLongMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anImmutableIntLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asImmutableIntLongMapFactory.empty()
.of
(int key, long value) ofAll
(IntLongMap map) with()
Same asImmutableIntLongMapFactory.empty()
.with
(int key, long value) withAll
(IntLongMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableIntLongMapFactoryImpl
public ImmutableIntLongMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableIntLongMapFactory
-
of
Description copied from interface:ImmutableIntLongMapFactory
Same asImmutableIntLongMapFactory.empty()
.- Specified by:
of
in interfaceImmutableIntLongMapFactory
-
with
Description copied from interface:ImmutableIntLongMapFactory
Same asImmutableIntLongMapFactory.empty()
.- Specified by:
with
in interfaceImmutableIntLongMapFactory
-
of
Description copied from interface:ImmutableIntLongMapFactory
- Specified by:
of
in interfaceImmutableIntLongMapFactory
-
with
- Specified by:
with
in interfaceImmutableIntLongMapFactory
-
ofAll
Description copied from interface:ImmutableIntLongMapFactory
- Specified by:
ofAll
in interfaceImmutableIntLongMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableIntLongMapFactory
-
from
public <T> ImmutableIntLongMap from(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
-