Class MutableCharByteMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableCharByteMapFactoryImpl
-
- All Implemented Interfaces:
MutableCharByteMapFactory
public class MutableCharByteMapFactoryImpl extends java.lang.Object implements MutableCharByteMapFactory
MutableCharByteMapFactoryImpl is a factory implementation which creates instances of typeMutableCharByteMap. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableCharByteMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableCharByteMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableCharByteMapempty()<T> MutableCharByteMapfrom(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)Creates anMutableCharByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableCharByteMapof()Same asMutableCharByteMapFactory.empty().MutableCharByteMapof(char key, byte value)MutableCharByteMapof(char key1, byte value1, char key2, byte value2)MutableCharByteMapof(char key1, byte value1, char key2, byte value2, char key3, byte value3)MutableCharByteMapof(char key1, byte value1, char key2, byte value2, char key3, byte value3, char key4, byte value4)MutableCharByteMapofAll(CharByteMap map)MutableCharByteMapofInitialCapacity(int capacity)Same asMutableCharByteMapFactory.empty().MutableCharByteMapwith()Same asMutableCharByteMapFactory.empty().MutableCharByteMapwith(char key, byte value)MutableCharByteMapwith(char key1, byte value1, char key2, byte value2)MutableCharByteMapwith(char key1, byte value1, char key2, byte value2, char key3, byte value3)MutableCharByteMapwith(char key1, byte value1, char key2, byte value2, char key3, byte value3, char key4, byte value4)MutableCharByteMapwithAll(CharByteMap map)MutableCharByteMapwithInitialCapacity(int capacity)Same asMutableCharByteMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableCharByteMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableCharByteMap empty()
- Specified by:
emptyin interfaceMutableCharByteMapFactory
-
of
public MutableCharByteMap of()
Description copied from interface:MutableCharByteMapFactorySame asMutableCharByteMapFactory.empty().- Specified by:
ofin interfaceMutableCharByteMapFactory
-
with
public MutableCharByteMap with()
Description copied from interface:MutableCharByteMapFactorySame asMutableCharByteMapFactory.empty().- Specified by:
within interfaceMutableCharByteMapFactory
-
with
public MutableCharByteMap with(char key, byte value)
- Specified by:
within interfaceMutableCharByteMapFactory
-
of
public MutableCharByteMap of(char key, byte value)
- Specified by:
ofin interfaceMutableCharByteMapFactory
-
of
public MutableCharByteMap of(char key1, byte value1, char key2, byte value2)
- Specified by:
ofin interfaceMutableCharByteMapFactory
-
with
public MutableCharByteMap with(char key1, byte value1, char key2, byte value2)
- Specified by:
within interfaceMutableCharByteMapFactory
-
of
public MutableCharByteMap of(char key1, byte value1, char key2, byte value2, char key3, byte value3)
- Specified by:
ofin interfaceMutableCharByteMapFactory
-
with
public MutableCharByteMap with(char key1, byte value1, char key2, byte value2, char key3, byte value3)
- Specified by:
within interfaceMutableCharByteMapFactory
-
of
public MutableCharByteMap of(char key1, byte value1, char key2, byte value2, char key3, byte value3, char key4, byte value4)
- Specified by:
ofin interfaceMutableCharByteMapFactory
-
with
public MutableCharByteMap with(char key1, byte value1, char key2, byte value2, char key3, byte value3, char key4, byte value4)
- Specified by:
within interfaceMutableCharByteMapFactory
-
ofInitialCapacity
public MutableCharByteMap ofInitialCapacity(int capacity)
Description copied from interface:MutableCharByteMapFactorySame asMutableCharByteMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableCharByteMapFactory
-
withInitialCapacity
public MutableCharByteMap withInitialCapacity(int capacity)
Description copied from interface:MutableCharByteMapFactorySame asMutableCharByteMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableCharByteMapFactory
-
ofAll
public MutableCharByteMap ofAll(CharByteMap map)
Description copied from interface:MutableCharByteMapFactory- Specified by:
ofAllin interfaceMutableCharByteMapFactory
-
withAll
public MutableCharByteMap withAll(CharByteMap map)
- Specified by:
withAllin interfaceMutableCharByteMapFactory
-
from
public <T> MutableCharByteMap from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)
Description copied from interface:MutableCharByteMapFactoryCreates anMutableCharByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableCharByteMapFactory
-
-