Interface MutableShortBooleanMapFactory
-
- All Known Implementing Classes:
MutableShortBooleanMapFactoryImpl
public interface MutableShortBooleanMapFactory
A factory which creates instances of typeMutableShortBooleanMap
. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.- Since:
- 6.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default 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()
Same asempty()
.default MutableShortBooleanMap
of(short key, boolean value)
default MutableShortBooleanMap
of(short key1, boolean value1, short key2, boolean value2)
default MutableShortBooleanMap
of(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3)
default MutableShortBooleanMap
of(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3, short key4, boolean value4)
MutableShortBooleanMap
ofAll(ShortBooleanMap map)
Same aswithAll(ShortBooleanMap)
.MutableShortBooleanMap
ofInitialCapacity(int capacity)
Same asempty()
.MutableShortBooleanMap
with()
Same asempty()
.default MutableShortBooleanMap
with(short key, boolean value)
default MutableShortBooleanMap
with(short key1, boolean value1, short key2, boolean value2)
default MutableShortBooleanMap
with(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3)
default 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)
Same asempty()
.
-
-
-
Method Detail
-
empty
MutableShortBooleanMap empty()
-
of
MutableShortBooleanMap of()
Same asempty()
.
-
with
MutableShortBooleanMap with()
Same asempty()
.
-
of
default MutableShortBooleanMap of(short key, boolean value)
- Since:
- 11.1.
-
with
default MutableShortBooleanMap with(short key, boolean value)
- Since:
- 11.1.
-
of
default MutableShortBooleanMap of(short key1, boolean value1, short key2, boolean value2)
- Since:
- 11.1.
-
with
default MutableShortBooleanMap with(short key1, boolean value1, short key2, boolean value2)
- Since:
- 11.1.
-
of
default MutableShortBooleanMap of(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3)
- Since:
- 11.1.
-
with
default MutableShortBooleanMap with(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3)
- Since:
- 11.1.
-
of
default MutableShortBooleanMap of(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3, short key4, boolean value4)
- Since:
- 11.1.
-
with
default MutableShortBooleanMap with(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3, short key4, boolean value4)
- Since:
- 11.1.
-
ofInitialCapacity
MutableShortBooleanMap ofInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
withInitialCapacity
MutableShortBooleanMap withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
ofAll
MutableShortBooleanMap ofAll(ShortBooleanMap map)
Same aswithAll(ShortBooleanMap)
.
-
withAll
MutableShortBooleanMap withAll(ShortBooleanMap map)
-
from
<T> MutableShortBooleanMap from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, BooleanFunction<? super T> valueFunction)
Creates anMutableShortBooleanMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-