Class ImmutableShortIntMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableShortIntMapFactoryImpl
- All Implemented Interfaces:
ImmutableShortIntMapFactory
ImmutableShortIntMapFactoryImpl is a factory implementation which creates instances of type
ImmutableShortIntMap
.
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, IntFunction<? super T> valueFunction) Creates anImmutableShortIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asImmutableShortIntMapFactory.empty()
.of
(short key, int value) ofAll
(ShortIntMap map) with()
Same asImmutableShortIntMapFactory.empty()
.with
(short key, int value) withAll
(ShortIntMap map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableShortIntMapFactoryImpl
public ImmutableShortIntMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableShortIntMapFactory
-
of
Description copied from interface:ImmutableShortIntMapFactory
Same asImmutableShortIntMapFactory.empty()
.- Specified by:
of
in interfaceImmutableShortIntMapFactory
-
with
Description copied from interface:ImmutableShortIntMapFactory
Same asImmutableShortIntMapFactory.empty()
.- Specified by:
with
in interfaceImmutableShortIntMapFactory
-
of
Description copied from interface:ImmutableShortIntMapFactory
- Specified by:
of
in interfaceImmutableShortIntMapFactory
-
with
- Specified by:
with
in interfaceImmutableShortIntMapFactory
-
ofAll
Description copied from interface:ImmutableShortIntMapFactory
- Specified by:
ofAll
in interfaceImmutableShortIntMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableShortIntMapFactory
-
from
public <T> ImmutableShortIntMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Description copied from interface:ImmutableShortIntMapFactory
Creates anImmutableShortIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableShortIntMapFactory
-