Class ImmutableByteCharMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableByteCharMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableByteCharMapFactory
public class ImmutableByteCharMapFactoryImpl extends java.lang.Object implements ImmutableByteCharMapFactory
ImmutableByteCharMapFactoryImpl is a factory implementation which creates instances of typeImmutableByteCharMap. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableByteCharMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableByteCharMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableByteCharMapempty()<T> ImmutableByteCharMapfrom(java.lang.Iterable<T> iterable, ByteFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)Creates anImmutableByteCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableByteCharMapof()Same asImmutableByteCharMapFactory.empty().ImmutableByteCharMapof(byte key, char value)ImmutableByteCharMapofAll(ByteCharMap map)ImmutableByteCharMapwith()Same asImmutableByteCharMapFactory.empty().ImmutableByteCharMapwith(byte key, char value)ImmutableByteCharMapwithAll(ByteCharMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableByteCharMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableByteCharMap empty()
- Specified by:
emptyin interfaceImmutableByteCharMapFactory
-
of
public ImmutableByteCharMap of()
Description copied from interface:ImmutableByteCharMapFactorySame asImmutableByteCharMapFactory.empty().- Specified by:
ofin interfaceImmutableByteCharMapFactory
-
with
public ImmutableByteCharMap with()
Description copied from interface:ImmutableByteCharMapFactorySame asImmutableByteCharMapFactory.empty().- Specified by:
within interfaceImmutableByteCharMapFactory
-
of
public ImmutableByteCharMap of(byte key, char value)
Description copied from interface:ImmutableByteCharMapFactory- Specified by:
ofin interfaceImmutableByteCharMapFactory
-
with
public ImmutableByteCharMap with(byte key, char value)
- Specified by:
within interfaceImmutableByteCharMapFactory
-
ofAll
public ImmutableByteCharMap ofAll(ByteCharMap map)
Description copied from interface:ImmutableByteCharMapFactory- Specified by:
ofAllin interfaceImmutableByteCharMapFactory
-
withAll
public ImmutableByteCharMap withAll(ByteCharMap map)
- Specified by:
withAllin interfaceImmutableByteCharMapFactory
-
from
public <T> ImmutableByteCharMap from(java.lang.Iterable<T> iterable, ByteFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)
Description copied from interface:ImmutableByteCharMapFactoryCreates anImmutableByteCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableByteCharMapFactory
-
-