Class ImmutableShortByteMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableShortByteMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableShortByteMapFactory
public class ImmutableShortByteMapFactoryImpl extends java.lang.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 ImmutableShortByteMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortByteMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortByteMapempty()<T> ImmutableShortByteMapfrom(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)Creates anImmutableShortByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableShortByteMapof()Same asImmutableShortByteMapFactory.empty().ImmutableShortByteMapof(short key, byte value)ImmutableShortByteMapofAll(ShortByteMap map)ImmutableShortByteMapwith()Same asImmutableShortByteMapFactory.empty().ImmutableShortByteMapwith(short key, byte value)ImmutableShortByteMapwithAll(ShortByteMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortByteMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortByteMap empty()
- Specified by:
emptyin interfaceImmutableShortByteMapFactory
-
of
public ImmutableShortByteMap of()
Description copied from interface:ImmutableShortByteMapFactorySame asImmutableShortByteMapFactory.empty().- Specified by:
ofin interfaceImmutableShortByteMapFactory
-
with
public ImmutableShortByteMap with()
Description copied from interface:ImmutableShortByteMapFactorySame asImmutableShortByteMapFactory.empty().- Specified by:
within interfaceImmutableShortByteMapFactory
-
of
public ImmutableShortByteMap of(short key, byte value)
Description copied from interface:ImmutableShortByteMapFactory- Specified by:
ofin interfaceImmutableShortByteMapFactory
-
with
public ImmutableShortByteMap with(short key, byte value)
- Specified by:
within interfaceImmutableShortByteMapFactory
-
ofAll
public ImmutableShortByteMap ofAll(ShortByteMap map)
Description copied from interface:ImmutableShortByteMapFactory- Specified by:
ofAllin interfaceImmutableShortByteMapFactory
-
withAll
public ImmutableShortByteMap withAll(ShortByteMap map)
- Specified by:
withAllin interfaceImmutableShortByteMapFactory
-
from
public <T> ImmutableShortByteMap from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)
Description copied from interface:ImmutableShortByteMapFactoryCreates anImmutableShortByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableShortByteMapFactory
-
-