Class ImmutableShortLongMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableShortLongMapFactoryImpl
- All Implemented Interfaces:
ImmutableShortLongMapFactory
public class ImmutableShortLongMapFactoryImpl
extends Object
implements ImmutableShortLongMapFactory
ImmutableShortLongMapFactoryImpl is a factory implementation which creates instances of type
ImmutableShortLongMap
.
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, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anImmutableShortLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asImmutableShortLongMapFactory.empty()
.of
(short key, long value) ofAll
(ShortLongMap map) with()
Same asImmutableShortLongMapFactory.empty()
.with
(short key, long value) withAll
(ShortLongMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableShortLongMapFactoryImpl
public ImmutableShortLongMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableShortLongMapFactory
-
of
Description copied from interface:ImmutableShortLongMapFactory
Same asImmutableShortLongMapFactory.empty()
.- Specified by:
of
in interfaceImmutableShortLongMapFactory
-
with
Description copied from interface:ImmutableShortLongMapFactory
Same asImmutableShortLongMapFactory.empty()
.- Specified by:
with
in interfaceImmutableShortLongMapFactory
-
of
Description copied from interface:ImmutableShortLongMapFactory
- Specified by:
of
in interfaceImmutableShortLongMapFactory
-
with
- Specified by:
with
in interfaceImmutableShortLongMapFactory
-
ofAll
Description copied from interface:ImmutableShortLongMapFactory
- Specified by:
ofAll
in interfaceImmutableShortLongMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableShortLongMapFactory
-
from
public <T> ImmutableShortLongMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Description copied from interface:ImmutableShortLongMapFactory
Creates anImmutableShortLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableShortLongMapFactory
-