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