Class ImmutableCharByteMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableCharByteMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableCharByteMapFactory
public class ImmutableCharByteMapFactoryImpl extends java.lang.Object implements ImmutableCharByteMapFactory
ImmutableCharByteMapFactoryImpl is a factory implementation which creates instances of typeImmutableCharByteMap
. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableCharByteMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableCharByteMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableCharByteMap
empty()
<T> ImmutableCharByteMap
from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)
Creates anImmutableCharByteMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableCharByteMap
of()
Same asImmutableCharByteMapFactory.empty()
.ImmutableCharByteMap
of(char key, byte value)
ImmutableCharByteMap
ofAll(CharByteMap map)
ImmutableCharByteMap
with()
Same asImmutableCharByteMapFactory.empty()
.ImmutableCharByteMap
with(char key, byte value)
ImmutableCharByteMap
withAll(CharByteMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableCharByteMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableCharByteMap empty()
- Specified by:
empty
in interfaceImmutableCharByteMapFactory
-
of
public ImmutableCharByteMap of()
Description copied from interface:ImmutableCharByteMapFactory
Same asImmutableCharByteMapFactory.empty()
.- Specified by:
of
in interfaceImmutableCharByteMapFactory
-
with
public ImmutableCharByteMap with()
Description copied from interface:ImmutableCharByteMapFactory
Same asImmutableCharByteMapFactory.empty()
.- Specified by:
with
in interfaceImmutableCharByteMapFactory
-
of
public ImmutableCharByteMap of(char key, byte value)
Description copied from interface:ImmutableCharByteMapFactory
- Specified by:
of
in interfaceImmutableCharByteMapFactory
-
with
public ImmutableCharByteMap with(char key, byte value)
- Specified by:
with
in interfaceImmutableCharByteMapFactory
-
ofAll
public ImmutableCharByteMap ofAll(CharByteMap map)
Description copied from interface:ImmutableCharByteMapFactory
- Specified by:
ofAll
in interfaceImmutableCharByteMapFactory
-
withAll
public ImmutableCharByteMap withAll(CharByteMap map)
- Specified by:
withAll
in interfaceImmutableCharByteMapFactory
-
from
public <T> ImmutableCharByteMap from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)
Description copied from interface:ImmutableCharByteMapFactory
Creates anImmutableCharByteMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableCharByteMapFactory
-
-