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