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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, ShortFunction<? super T> keyFunction, BooleanFunction<? super T> valueFunction) Creates anMutableShortBooleanMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.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:
empty
in interfaceMutableShortBooleanMapFactory
-
of
Description copied from interface:MutableShortBooleanMapFactory
- Specified by:
of
in interfaceMutableShortBooleanMapFactory
-
with
Description copied from interface:MutableShortBooleanMapFactory
- Specified by:
with
in interfaceMutableShortBooleanMapFactory
-
with
- Specified by:
with
in interfaceMutableShortBooleanMapFactory
-
of
- Specified by:
of
in interfaceMutableShortBooleanMapFactory
-
of
- Specified by:
of
in interfaceMutableShortBooleanMapFactory
-
with
- Specified by:
with
in interfaceMutableShortBooleanMapFactory
-
of
public MutableShortBooleanMap of(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3) - Specified by:
of
in interfaceMutableShortBooleanMapFactory
-
with
public MutableShortBooleanMap with(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3) - Specified by:
with
in interfaceMutableShortBooleanMapFactory
-
of
public MutableShortBooleanMap of(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3, short key4, boolean value4) - Specified by:
of
in interfaceMutableShortBooleanMapFactory
-
with
public MutableShortBooleanMap with(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3, short key4, boolean value4) - Specified by:
with
in interfaceMutableShortBooleanMapFactory
-
ofInitialCapacity
Description copied from interface:MutableShortBooleanMapFactory
Same asMutableShortBooleanMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableShortBooleanMapFactory
-
withInitialCapacity
Description copied from interface:MutableShortBooleanMapFactory
Same asMutableShortBooleanMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableShortBooleanMapFactory
-
ofAll
Description copied from interface:MutableShortBooleanMapFactory
- Specified by:
ofAll
in interfaceMutableShortBooleanMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableShortBooleanMapFactory
-
from
public <T> MutableShortBooleanMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, BooleanFunction<? super T> valueFunction) Description copied from interface:MutableShortBooleanMapFactory
Creates anMutableShortBooleanMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableShortBooleanMapFactory
-