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