Class MutableIntByteMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableIntByteMapFactoryImpl
-
- All Implemented Interfaces:
MutableIntByteMapFactory
public class MutableIntByteMapFactoryImpl extends java.lang.Object implements MutableIntByteMapFactory
MutableIntByteMapFactoryImpl is a factory implementation which creates instances of typeMutableIntByteMap. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableIntByteMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableIntByteMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableIntByteMapempty()<T> MutableIntByteMapfrom(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)Creates anMutableIntByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableIntByteMapof()Same asMutableIntByteMapFactory.empty().MutableIntByteMapof(int key, byte value)MutableIntByteMapof(int key1, byte value1, int key2, byte value2)MutableIntByteMapof(int key1, byte value1, int key2, byte value2, int key3, byte value3)MutableIntByteMapof(int key1, byte value1, int key2, byte value2, int key3, byte value3, int key4, byte value4)MutableIntByteMapofAll(IntByteMap map)MutableIntByteMapofInitialCapacity(int capacity)Same asMutableIntByteMapFactory.empty().MutableIntByteMapwith()Same asMutableIntByteMapFactory.empty().MutableIntByteMapwith(int key, byte value)MutableIntByteMapwith(int key1, byte value1, int key2, byte value2)MutableIntByteMapwith(int key1, byte value1, int key2, byte value2, int key3, byte value3)MutableIntByteMapwith(int key1, byte value1, int key2, byte value2, int key3, byte value3, int key4, byte value4)MutableIntByteMapwithAll(IntByteMap map)MutableIntByteMapwithInitialCapacity(int capacity)Same asMutableIntByteMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableIntByteMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableIntByteMap empty()
- Specified by:
emptyin interfaceMutableIntByteMapFactory
-
of
public MutableIntByteMap of()
Description copied from interface:MutableIntByteMapFactorySame asMutableIntByteMapFactory.empty().- Specified by:
ofin interfaceMutableIntByteMapFactory
-
with
public MutableIntByteMap with()
Description copied from interface:MutableIntByteMapFactorySame asMutableIntByteMapFactory.empty().- Specified by:
within interfaceMutableIntByteMapFactory
-
with
public MutableIntByteMap with(int key, byte value)
- Specified by:
within interfaceMutableIntByteMapFactory
-
of
public MutableIntByteMap of(int key, byte value)
- Specified by:
ofin interfaceMutableIntByteMapFactory
-
of
public MutableIntByteMap of(int key1, byte value1, int key2, byte value2)
- Specified by:
ofin interfaceMutableIntByteMapFactory
-
with
public MutableIntByteMap with(int key1, byte value1, int key2, byte value2)
- Specified by:
within interfaceMutableIntByteMapFactory
-
of
public MutableIntByteMap of(int key1, byte value1, int key2, byte value2, int key3, byte value3)
- Specified by:
ofin interfaceMutableIntByteMapFactory
-
with
public MutableIntByteMap with(int key1, byte value1, int key2, byte value2, int key3, byte value3)
- Specified by:
within interfaceMutableIntByteMapFactory
-
of
public MutableIntByteMap of(int key1, byte value1, int key2, byte value2, int key3, byte value3, int key4, byte value4)
- Specified by:
ofin interfaceMutableIntByteMapFactory
-
with
public MutableIntByteMap with(int key1, byte value1, int key2, byte value2, int key3, byte value3, int key4, byte value4)
- Specified by:
within interfaceMutableIntByteMapFactory
-
ofInitialCapacity
public MutableIntByteMap ofInitialCapacity(int capacity)
Description copied from interface:MutableIntByteMapFactorySame asMutableIntByteMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableIntByteMapFactory
-
withInitialCapacity
public MutableIntByteMap withInitialCapacity(int capacity)
Description copied from interface:MutableIntByteMapFactorySame asMutableIntByteMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableIntByteMapFactory
-
ofAll
public MutableIntByteMap ofAll(IntByteMap map)
Description copied from interface:MutableIntByteMapFactory- Specified by:
ofAllin interfaceMutableIntByteMapFactory
-
withAll
public MutableIntByteMap withAll(IntByteMap map)
- Specified by:
withAllin interfaceMutableIntByteMapFactory
-
from
public <T> MutableIntByteMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)
Description copied from interface:MutableIntByteMapFactoryCreates anMutableIntByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableIntByteMapFactory
-
-