Class ImmutableShortIntMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableShortIntMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableShortIntMapFactory
public class ImmutableShortIntMapFactoryImpl extends Object implements ImmutableShortIntMapFactory
ImmutableShortIntMapFactoryImpl is a factory implementation which creates instances of typeImmutableShortIntMap
. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableShortIntMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortIntMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortIntMap
empty()
<T> ImmutableShortIntMap
from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
ImmutableShortIntMap
of()
ImmutableShortIntMap
of(short key, int value)
ImmutableShortIntMap
ofAll(ShortIntMap map)
ImmutableShortIntMap
with()
ImmutableShortIntMap
with(short key, int value)
ImmutableShortIntMap
withAll(ShortIntMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortIntMap empty()
- Specified by:
empty
in interfaceImmutableShortIntMapFactory
-
of
public ImmutableShortIntMap of()
- Specified by:
of
in interfaceImmutableShortIntMapFactory
-
with
public ImmutableShortIntMap with()
- Specified by:
with
in interfaceImmutableShortIntMapFactory
-
of
public ImmutableShortIntMap of(short key, int value)
- Specified by:
of
in interfaceImmutableShortIntMapFactory
-
with
public ImmutableShortIntMap with(short key, int value)
- Specified by:
with
in interfaceImmutableShortIntMapFactory
-
ofAll
public ImmutableShortIntMap ofAll(ShortIntMap map)
- Specified by:
ofAll
in interfaceImmutableShortIntMapFactory
-
withAll
public ImmutableShortIntMap withAll(ShortIntMap map)
- Specified by:
withAll
in interfaceImmutableShortIntMapFactory
-
from
public <T> ImmutableShortIntMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
- Specified by:
from
in interfaceImmutableShortIntMapFactory
-
-