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 ImmutableByteCharMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableByteCharMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableByteCharMap
empty()
<T> ImmutableByteCharMap
from(java.lang.Iterable<T> iterable, ByteFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)
Creates anImmutableByteCharMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableByteCharMap
of()
Same asImmutableByteCharMapFactory.empty()
.ImmutableByteCharMap
of(byte key, char value)
ImmutableByteCharMap
ofAll(ByteCharMap map)
ImmutableByteCharMap
with()
Same asImmutableByteCharMapFactory.empty()
.ImmutableByteCharMap
with(byte key, char value)
ImmutableByteCharMap
withAll(ByteCharMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableByteCharMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableByteCharMap empty()
- Specified by:
empty
in interfaceImmutableByteCharMapFactory
-
of
public ImmutableByteCharMap of()
Description copied from interface:ImmutableByteCharMapFactory
Same asImmutableByteCharMapFactory.empty()
.- Specified by:
of
in interfaceImmutableByteCharMapFactory
-
with
public ImmutableByteCharMap with()
Description copied from interface:ImmutableByteCharMapFactory
Same asImmutableByteCharMapFactory.empty()
.- Specified by:
with
in interfaceImmutableByteCharMapFactory
-
of
public ImmutableByteCharMap of(byte key, char value)
Description copied from interface:ImmutableByteCharMapFactory
- Specified by:
of
in interfaceImmutableByteCharMapFactory
-
with
public ImmutableByteCharMap with(byte key, char value)
- Specified by:
with
in interfaceImmutableByteCharMapFactory
-
ofAll
public ImmutableByteCharMap ofAll(ByteCharMap map)
Description copied from interface:ImmutableByteCharMapFactory
- Specified by:
ofAll
in interfaceImmutableByteCharMapFactory
-
withAll
public ImmutableByteCharMap withAll(ByteCharMap map)
- Specified by:
withAll
in interfaceImmutableByteCharMapFactory
-
from
public <T> ImmutableByteCharMap from(java.lang.Iterable<T> iterable, ByteFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)
Description copied from interface:ImmutableByteCharMapFactory
Creates anImmutableByteCharMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableByteCharMapFactory
-
-