Class MutableShortCharMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableShortCharMapFactoryImpl
-
- All Implemented Interfaces:
MutableShortCharMapFactory
public class MutableShortCharMapFactoryImpl extends java.lang.Object implements MutableShortCharMapFactory
MutableShortCharMapFactoryImpl is a factory implementation which creates instances of typeMutableShortCharMap. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableShortCharMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableShortCharMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableShortCharMapempty()<T> MutableShortCharMapfrom(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)Creates anMutableShortCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableShortCharMapof()Same asMutableShortCharMapFactory.empty().MutableShortCharMapof(short key, char value)MutableShortCharMapof(short key1, char value1, short key2, char value2)MutableShortCharMapof(short key1, char value1, short key2, char value2, short key3, char value3)MutableShortCharMapof(short key1, char value1, short key2, char value2, short key3, char value3, short key4, char value4)MutableShortCharMapofAll(ShortCharMap map)MutableShortCharMapofInitialCapacity(int capacity)Same asMutableShortCharMapFactory.empty().MutableShortCharMapwith()Same asMutableShortCharMapFactory.empty().MutableShortCharMapwith(short key, char value)MutableShortCharMapwith(short key1, char value1, short key2, char value2)MutableShortCharMapwith(short key1, char value1, short key2, char value2, short key3, char value3)MutableShortCharMapwith(short key1, char value1, short key2, char value2, short key3, char value3, short key4, char value4)MutableShortCharMapwithAll(ShortCharMap map)MutableShortCharMapwithInitialCapacity(int capacity)Same asMutableShortCharMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableShortCharMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableShortCharMap empty()
- Specified by:
emptyin interfaceMutableShortCharMapFactory
-
of
public MutableShortCharMap of()
Description copied from interface:MutableShortCharMapFactorySame asMutableShortCharMapFactory.empty().- Specified by:
ofin interfaceMutableShortCharMapFactory
-
with
public MutableShortCharMap with()
Description copied from interface:MutableShortCharMapFactorySame asMutableShortCharMapFactory.empty().- Specified by:
within interfaceMutableShortCharMapFactory
-
with
public MutableShortCharMap with(short key, char value)
- Specified by:
within interfaceMutableShortCharMapFactory
-
of
public MutableShortCharMap of(short key, char value)
- Specified by:
ofin interfaceMutableShortCharMapFactory
-
of
public MutableShortCharMap of(short key1, char value1, short key2, char value2)
- Specified by:
ofin interfaceMutableShortCharMapFactory
-
with
public MutableShortCharMap with(short key1, char value1, short key2, char value2)
- Specified by:
within interfaceMutableShortCharMapFactory
-
of
public MutableShortCharMap of(short key1, char value1, short key2, char value2, short key3, char value3)
- Specified by:
ofin interfaceMutableShortCharMapFactory
-
with
public MutableShortCharMap with(short key1, char value1, short key2, char value2, short key3, char value3)
- Specified by:
within interfaceMutableShortCharMapFactory
-
of
public MutableShortCharMap of(short key1, char value1, short key2, char value2, short key3, char value3, short key4, char value4)
- Specified by:
ofin interfaceMutableShortCharMapFactory
-
with
public MutableShortCharMap with(short key1, char value1, short key2, char value2, short key3, char value3, short key4, char value4)
- Specified by:
within interfaceMutableShortCharMapFactory
-
ofInitialCapacity
public MutableShortCharMap ofInitialCapacity(int capacity)
Description copied from interface:MutableShortCharMapFactorySame asMutableShortCharMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableShortCharMapFactory
-
withInitialCapacity
public MutableShortCharMap withInitialCapacity(int capacity)
Description copied from interface:MutableShortCharMapFactorySame asMutableShortCharMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableShortCharMapFactory
-
ofAll
public MutableShortCharMap ofAll(ShortCharMap map)
Description copied from interface:MutableShortCharMapFactory- Specified by:
ofAllin interfaceMutableShortCharMapFactory
-
withAll
public MutableShortCharMap withAll(ShortCharMap map)
- Specified by:
withAllin interfaceMutableShortCharMapFactory
-
from
public <T> MutableShortCharMap from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)
Description copied from interface:MutableShortCharMapFactoryCreates anMutableShortCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableShortCharMapFactory
-
-