Class MutableCharShortMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableCharShortMapFactoryImpl
-
- All Implemented Interfaces:
MutableCharShortMapFactory
public class MutableCharShortMapFactoryImpl extends java.lang.Object implements MutableCharShortMapFactory
MutableCharShortMapFactoryImpl is a factory implementation which creates instances of typeMutableCharShortMap. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableCharShortMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableCharShortMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableCharShortMapempty()<T> MutableCharShortMapfrom(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Creates anMutableCharShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableCharShortMapof()Same asMutableCharShortMapFactory.empty().MutableCharShortMapof(char key, short value)MutableCharShortMapof(char key1, short value1, char key2, short value2)MutableCharShortMapof(char key1, short value1, char key2, short value2, char key3, short value3)MutableCharShortMapof(char key1, short value1, char key2, short value2, char key3, short value3, char key4, short value4)MutableCharShortMapofAll(CharShortMap map)MutableCharShortMapofInitialCapacity(int capacity)Same asMutableCharShortMapFactory.empty().MutableCharShortMapwith()Same asMutableCharShortMapFactory.empty().MutableCharShortMapwith(char key, short value)MutableCharShortMapwith(char key1, short value1, char key2, short value2)MutableCharShortMapwith(char key1, short value1, char key2, short value2, char key3, short value3)MutableCharShortMapwith(char key1, short value1, char key2, short value2, char key3, short value3, char key4, short value4)MutableCharShortMapwithAll(CharShortMap map)MutableCharShortMapwithInitialCapacity(int capacity)Same asMutableCharShortMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableCharShortMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableCharShortMap empty()
- Specified by:
emptyin interfaceMutableCharShortMapFactory
-
of
public MutableCharShortMap of()
Description copied from interface:MutableCharShortMapFactorySame asMutableCharShortMapFactory.empty().- Specified by:
ofin interfaceMutableCharShortMapFactory
-
with
public MutableCharShortMap with()
Description copied from interface:MutableCharShortMapFactorySame asMutableCharShortMapFactory.empty().- Specified by:
within interfaceMutableCharShortMapFactory
-
with
public MutableCharShortMap with(char key, short value)
- Specified by:
within interfaceMutableCharShortMapFactory
-
of
public MutableCharShortMap of(char key, short value)
- Specified by:
ofin interfaceMutableCharShortMapFactory
-
of
public MutableCharShortMap of(char key1, short value1, char key2, short value2)
- Specified by:
ofin interfaceMutableCharShortMapFactory
-
with
public MutableCharShortMap with(char key1, short value1, char key2, short value2)
- Specified by:
within interfaceMutableCharShortMapFactory
-
of
public MutableCharShortMap of(char key1, short value1, char key2, short value2, char key3, short value3)
- Specified by:
ofin interfaceMutableCharShortMapFactory
-
with
public MutableCharShortMap with(char key1, short value1, char key2, short value2, char key3, short value3)
- Specified by:
within interfaceMutableCharShortMapFactory
-
of
public MutableCharShortMap of(char key1, short value1, char key2, short value2, char key3, short value3, char key4, short value4)
- Specified by:
ofin interfaceMutableCharShortMapFactory
-
with
public MutableCharShortMap with(char key1, short value1, char key2, short value2, char key3, short value3, char key4, short value4)
- Specified by:
within interfaceMutableCharShortMapFactory
-
ofInitialCapacity
public MutableCharShortMap ofInitialCapacity(int capacity)
Description copied from interface:MutableCharShortMapFactorySame asMutableCharShortMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableCharShortMapFactory
-
withInitialCapacity
public MutableCharShortMap withInitialCapacity(int capacity)
Description copied from interface:MutableCharShortMapFactorySame asMutableCharShortMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableCharShortMapFactory
-
ofAll
public MutableCharShortMap ofAll(CharShortMap map)
Description copied from interface:MutableCharShortMapFactory- Specified by:
ofAllin interfaceMutableCharShortMapFactory
-
withAll
public MutableCharShortMap withAll(CharShortMap map)
- Specified by:
withAllin interfaceMutableCharShortMapFactory
-
from
public <T> MutableCharShortMap from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Description copied from interface:MutableCharShortMapFactoryCreates anMutableCharShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableCharShortMapFactory
-
-