Class MutableShortBooleanMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableShortBooleanMapFactoryImpl
- All Implemented Interfaces:
MutableShortBooleanMapFactory
public class MutableShortBooleanMapFactoryImpl
extends Object
implements MutableShortBooleanMapFactory
MutableShortBooleanMapFactoryImpl is a factory implementation which creates instances of type
MutableShortBooleanMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, BooleanFunction<? super T> valueFunction) Creates anMutableShortBooleanMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()of(short key, boolean value) of(short key1, boolean value1, short key2, boolean value2) of(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3) of(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3, short key4, boolean value4) ofAll(ShortBooleanMap map) ofInitialCapacity(int capacity) with()with(short key, boolean value) with(short key1, boolean value1, short key2, boolean value2) with(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3) with(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3, short key4, boolean value4) withAll(ShortBooleanMap map) withInitialCapacity(int capacity)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableShortBooleanMapFactoryImpl
public MutableShortBooleanMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableShortBooleanMapFactory
-
of
Description copied from interface:MutableShortBooleanMapFactory- Specified by:
ofin interfaceMutableShortBooleanMapFactory
-
with
Description copied from interface:MutableShortBooleanMapFactory- Specified by:
within interfaceMutableShortBooleanMapFactory
-
with
- Specified by:
within interfaceMutableShortBooleanMapFactory
-
of
- Specified by:
ofin interfaceMutableShortBooleanMapFactory
-
of
- Specified by:
ofin interfaceMutableShortBooleanMapFactory
-
with
- Specified by:
within interfaceMutableShortBooleanMapFactory
-
of
public MutableShortBooleanMap of(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3) - Specified by:
ofin interfaceMutableShortBooleanMapFactory
-
with
public MutableShortBooleanMap with(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3) - Specified by:
within interfaceMutableShortBooleanMapFactory
-
of
public MutableShortBooleanMap of(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3, short key4, boolean value4) - Specified by:
ofin interfaceMutableShortBooleanMapFactory
-
with
public MutableShortBooleanMap with(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3, short key4, boolean value4) - Specified by:
within interfaceMutableShortBooleanMapFactory
-
ofInitialCapacity
Description copied from interface:MutableShortBooleanMapFactorySame asMutableShortBooleanMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableShortBooleanMapFactory
-
withInitialCapacity
Description copied from interface:MutableShortBooleanMapFactorySame asMutableShortBooleanMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableShortBooleanMapFactory
-
ofAll
Description copied from interface:MutableShortBooleanMapFactory- Specified by:
ofAllin interfaceMutableShortBooleanMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableShortBooleanMapFactory
-
from
public <T> MutableShortBooleanMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, BooleanFunction<? super T> valueFunction) Description copied from interface:MutableShortBooleanMapFactoryCreates anMutableShortBooleanMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableShortBooleanMapFactory
-