Class MutableIntCharMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableIntCharMapFactoryImpl
-
- All Implemented Interfaces:
MutableIntCharMapFactory
public class MutableIntCharMapFactoryImpl extends java.lang.Object implements MutableIntCharMapFactory
MutableIntCharMapFactoryImpl is a factory implementation which creates instances of typeMutableIntCharMap. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableIntCharMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableIntCharMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableIntCharMapempty()<T> MutableIntCharMapfrom(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)Creates anMutableIntCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableIntCharMapof()Same asMutableIntCharMapFactory.empty().MutableIntCharMapof(int key, char value)MutableIntCharMapof(int key1, char value1, int key2, char value2)MutableIntCharMapof(int key1, char value1, int key2, char value2, int key3, char value3)MutableIntCharMapof(int key1, char value1, int key2, char value2, int key3, char value3, int key4, char value4)MutableIntCharMapofAll(IntCharMap map)MutableIntCharMapofInitialCapacity(int capacity)Same asMutableIntCharMapFactory.empty().MutableIntCharMapwith()Same asMutableIntCharMapFactory.empty().MutableIntCharMapwith(int key, char value)MutableIntCharMapwith(int key1, char value1, int key2, char value2)MutableIntCharMapwith(int key1, char value1, int key2, char value2, int key3, char value3)MutableIntCharMapwith(int key1, char value1, int key2, char value2, int key3, char value3, int key4, char value4)MutableIntCharMapwithAll(IntCharMap map)MutableIntCharMapwithInitialCapacity(int capacity)Same asMutableIntCharMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableIntCharMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableIntCharMap empty()
- Specified by:
emptyin interfaceMutableIntCharMapFactory
-
of
public MutableIntCharMap of()
Description copied from interface:MutableIntCharMapFactorySame asMutableIntCharMapFactory.empty().- Specified by:
ofin interfaceMutableIntCharMapFactory
-
with
public MutableIntCharMap with()
Description copied from interface:MutableIntCharMapFactorySame asMutableIntCharMapFactory.empty().- Specified by:
within interfaceMutableIntCharMapFactory
-
with
public MutableIntCharMap with(int key, char value)
- Specified by:
within interfaceMutableIntCharMapFactory
-
of
public MutableIntCharMap of(int key, char value)
- Specified by:
ofin interfaceMutableIntCharMapFactory
-
of
public MutableIntCharMap of(int key1, char value1, int key2, char value2)
- Specified by:
ofin interfaceMutableIntCharMapFactory
-
with
public MutableIntCharMap with(int key1, char value1, int key2, char value2)
- Specified by:
within interfaceMutableIntCharMapFactory
-
of
public MutableIntCharMap of(int key1, char value1, int key2, char value2, int key3, char value3)
- Specified by:
ofin interfaceMutableIntCharMapFactory
-
with
public MutableIntCharMap with(int key1, char value1, int key2, char value2, int key3, char value3)
- Specified by:
within interfaceMutableIntCharMapFactory
-
of
public MutableIntCharMap of(int key1, char value1, int key2, char value2, int key3, char value3, int key4, char value4)
- Specified by:
ofin interfaceMutableIntCharMapFactory
-
with
public MutableIntCharMap with(int key1, char value1, int key2, char value2, int key3, char value3, int key4, char value4)
- Specified by:
within interfaceMutableIntCharMapFactory
-
ofInitialCapacity
public MutableIntCharMap ofInitialCapacity(int capacity)
Description copied from interface:MutableIntCharMapFactorySame asMutableIntCharMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableIntCharMapFactory
-
withInitialCapacity
public MutableIntCharMap withInitialCapacity(int capacity)
Description copied from interface:MutableIntCharMapFactorySame asMutableIntCharMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableIntCharMapFactory
-
ofAll
public MutableIntCharMap ofAll(IntCharMap map)
Description copied from interface:MutableIntCharMapFactory- Specified by:
ofAllin interfaceMutableIntCharMapFactory
-
withAll
public MutableIntCharMap withAll(IntCharMap map)
- Specified by:
withAllin interfaceMutableIntCharMapFactory
-
from
public <T> MutableIntCharMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)
Description copied from interface:MutableIntCharMapFactoryCreates anMutableIntCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableIntCharMapFactory
-
-