Class MutableShortBooleanMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableShortBooleanMapFactoryImpl
-
- All Implemented Interfaces:
MutableShortBooleanMapFactory
public class MutableShortBooleanMapFactoryImpl extends java.lang.Object implements MutableShortBooleanMapFactory
MutableShortBooleanMapFactoryImpl is a factory implementation which creates instances of typeMutableShortBooleanMap
. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableShortBooleanMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableShortBooleanMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableShortBooleanMap
empty()
<T> MutableShortBooleanMap
from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, BooleanFunction<? super T> valueFunction)
Creates anMutableShortBooleanMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.MutableShortBooleanMap
of()
MutableShortBooleanMap
of(short key, boolean value)
MutableShortBooleanMap
of(short key1, boolean value1, short key2, boolean value2)
MutableShortBooleanMap
of(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3)
MutableShortBooleanMap
of(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3, short key4, boolean value4)
MutableShortBooleanMap
ofAll(ShortBooleanMap map)
MutableShortBooleanMap
ofInitialCapacity(int capacity)
MutableShortBooleanMap
with()
MutableShortBooleanMap
with(short key, boolean value)
MutableShortBooleanMap
with(short key1, boolean value1, short key2, boolean value2)
MutableShortBooleanMap
with(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3)
MutableShortBooleanMap
with(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3, short key4, boolean value4)
MutableShortBooleanMap
withAll(ShortBooleanMap map)
MutableShortBooleanMap
withInitialCapacity(int capacity)
-
-
-
Field Detail
-
INSTANCE
public static final MutableShortBooleanMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableShortBooleanMap empty()
- Specified by:
empty
in interfaceMutableShortBooleanMapFactory
-
of
public MutableShortBooleanMap of()
Description copied from interface:MutableShortBooleanMapFactory
- Specified by:
of
in interfaceMutableShortBooleanMapFactory
-
with
public MutableShortBooleanMap with()
Description copied from interface:MutableShortBooleanMapFactory
- Specified by:
with
in interfaceMutableShortBooleanMapFactory
-
with
public MutableShortBooleanMap with(short key, boolean value)
- Specified by:
with
in interfaceMutableShortBooleanMapFactory
-
of
public MutableShortBooleanMap of(short key, boolean value)
- Specified by:
of
in interfaceMutableShortBooleanMapFactory
-
of
public MutableShortBooleanMap of(short key1, boolean value1, short key2, boolean value2)
- Specified by:
of
in interfaceMutableShortBooleanMapFactory
-
with
public MutableShortBooleanMap with(short key1, boolean value1, short key2, boolean value2)
- 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
public MutableShortBooleanMap ofInitialCapacity(int capacity)
Description copied from interface:MutableShortBooleanMapFactory
Same asMutableShortBooleanMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableShortBooleanMapFactory
-
withInitialCapacity
public MutableShortBooleanMap withInitialCapacity(int capacity)
Description copied from interface:MutableShortBooleanMapFactory
Same asMutableShortBooleanMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableShortBooleanMapFactory
-
ofAll
public MutableShortBooleanMap ofAll(ShortBooleanMap map)
Description copied from interface:MutableShortBooleanMapFactory
- Specified by:
ofAll
in interfaceMutableShortBooleanMapFactory
-
withAll
public MutableShortBooleanMap withAll(ShortBooleanMap map)
- Specified by:
withAll
in interfaceMutableShortBooleanMapFactory
-
from
public <T> MutableShortBooleanMap from(java.lang.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
-
-