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