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 typeImmutableShortShortMap
. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableShortShortMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortShortMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortShortMap
empty()
<T> ImmutableShortShortMap
from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
ImmutableShortShortMap
of()
ImmutableShortShortMap
of(short key, short value)
ImmutableShortShortMap
ofAll(ShortShortMap map)
ImmutableShortShortMap
with()
ImmutableShortShortMap
with(short key, short value)
ImmutableShortShortMap
withAll(ShortShortMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortShortMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortShortMap empty()
- Specified by:
empty
in interfaceImmutableShortShortMapFactory
-
of
public ImmutableShortShortMap of()
- Specified by:
of
in interfaceImmutableShortShortMapFactory
-
with
public ImmutableShortShortMap with()
- Specified by:
with
in interfaceImmutableShortShortMapFactory
-
of
public ImmutableShortShortMap of(short key, short value)
- Specified by:
of
in interfaceImmutableShortShortMapFactory
-
with
public ImmutableShortShortMap with(short key, short value)
- Specified by:
with
in interfaceImmutableShortShortMapFactory
-
ofAll
public ImmutableShortShortMap ofAll(ShortShortMap map)
- Specified by:
ofAll
in interfaceImmutableShortShortMapFactory
-
withAll
public ImmutableShortShortMap withAll(ShortShortMap map)
- Specified by:
withAll
in interfaceImmutableShortShortMapFactory
-
from
public <T> ImmutableShortShortMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
- Specified by:
from
in interfaceImmutableShortShortMapFactory
-
-