Class MutableShortObjectMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableShortObjectMapFactoryImpl
- All Implemented Interfaces:
MutableShortObjectMapFactory
public class MutableShortObjectMapFactoryImpl
extends Object
implements MutableShortObjectMapFactory
MutableShortObjectMapFactoryImpl is a factory implementation which creates instances of type
MutableShortObjectMap
.
This file was automatically generated from template file mutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 6.0.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<V> MutableShortObjectMap<V>
empty()
<T,
V> MutableShortObjectMap<V> from
(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anMutableShortObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<V> MutableShortObjectMap<V>
of()
Same asMutableShortObjectMapFactory.empty()
.<V> MutableShortObjectMap<V>
of
(short key, V value) <V> MutableShortObjectMap<V>
of
(short key1, V value1, short key2, V value2) <V> MutableShortObjectMap<V>
of
(short key1, V value1, short key2, V value2, short key3, V value3) <V> MutableShortObjectMap<V>
of
(short key1, V value1, short key2, V value2, short key3, V value3, short key4, V value4) <V> MutableShortObjectMap<V>
ofAll
(ShortObjectMap<? extends V> map) <V> MutableShortObjectMap<V>
ofInitialCapacity
(int capacity) Same asMutableShortObjectMapFactory.empty()
.<V> MutableShortObjectMap<V>
with()
Same asMutableShortObjectMapFactory.empty()
.<V> MutableShortObjectMap<V>
with
(short key, V value) <V> MutableShortObjectMap<V>
with
(short key1, V value1, short key2, V value2) <V> MutableShortObjectMap<V>
with
(short key1, V value1, short key2, V value2, short key3, V value3) <V> MutableShortObjectMap<V>
with
(short key1, V value1, short key2, V value2, short key3, V value3, short key4, V value4) <V> MutableShortObjectMap<V>
withAll
(ShortObjectMap<? extends V> map) <V> MutableShortObjectMap<V>
withInitialCapacity
(int capacity) Same asMutableShortObjectMapFactory.empty()
.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableShortObjectMapFactoryImpl
public MutableShortObjectMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceMutableShortObjectMapFactory
-
of
Description copied from interface:MutableShortObjectMapFactory
Same asMutableShortObjectMapFactory.empty()
.- Specified by:
of
in interfaceMutableShortObjectMapFactory
-
with
Description copied from interface:MutableShortObjectMapFactory
Same asMutableShortObjectMapFactory.empty()
.- Specified by:
with
in interfaceMutableShortObjectMapFactory
-
of
- Specified by:
of
in interfaceMutableShortObjectMapFactory
-
with
- Specified by:
with
in interfaceMutableShortObjectMapFactory
-
of
- Specified by:
of
in interfaceMutableShortObjectMapFactory
-
with
- Specified by:
with
in interfaceMutableShortObjectMapFactory
-
of
public <V> MutableShortObjectMap<V> of(short key1, V value1, short key2, V value2, short key3, V value3) - Specified by:
of
in interfaceMutableShortObjectMapFactory
-
with
public <V> MutableShortObjectMap<V> with(short key1, V value1, short key2, V value2, short key3, V value3) - Specified by:
with
in interfaceMutableShortObjectMapFactory
-
of
public <V> MutableShortObjectMap<V> of(short key1, V value1, short key2, V value2, short key3, V value3, short key4, V value4) - Specified by:
of
in interfaceMutableShortObjectMapFactory
-
with
public <V> MutableShortObjectMap<V> with(short key1, V value1, short key2, V value2, short key3, V value3, short key4, V value4) - Specified by:
with
in interfaceMutableShortObjectMapFactory
-
ofInitialCapacity
Description copied from interface:MutableShortObjectMapFactory
Same asMutableShortObjectMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableShortObjectMapFactory
-
withInitialCapacity
Description copied from interface:MutableShortObjectMapFactory
Same asMutableShortObjectMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableShortObjectMapFactory
-
ofAll
Description copied from interface:MutableShortObjectMapFactory
- Specified by:
ofAll
in interfaceMutableShortObjectMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableShortObjectMapFactory
-
from
public <T,V> MutableShortObjectMap<V> from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Description copied from interface:MutableShortObjectMapFactory
Creates anMutableShortObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableShortObjectMapFactory
-