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
Fields -
Constructor Summary
Constructors -
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 anMutableShortObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<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:
emptyin interfaceMutableShortObjectMapFactory
-
of
Description copied from interface:MutableShortObjectMapFactorySame asMutableShortObjectMapFactory.empty().- Specified by:
ofin interfaceMutableShortObjectMapFactory
-
with
Description copied from interface:MutableShortObjectMapFactorySame asMutableShortObjectMapFactory.empty().- Specified by:
within interfaceMutableShortObjectMapFactory
-
of
- Specified by:
ofin interfaceMutableShortObjectMapFactory
-
with
- Specified by:
within interfaceMutableShortObjectMapFactory
-
of
- Specified by:
ofin interfaceMutableShortObjectMapFactory
-
with
- Specified by:
within interfaceMutableShortObjectMapFactory
-
of
public <V> MutableShortObjectMap<V> of(short key1, V value1, short key2, V value2, short key3, V value3) - Specified by:
ofin interfaceMutableShortObjectMapFactory
-
with
public <V> MutableShortObjectMap<V> with(short key1, V value1, short key2, V value2, short key3, V value3) - Specified by:
within 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:
ofin 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:
within interfaceMutableShortObjectMapFactory
-
ofInitialCapacity
Description copied from interface:MutableShortObjectMapFactorySame asMutableShortObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableShortObjectMapFactory
-
withInitialCapacity
Description copied from interface:MutableShortObjectMapFactorySame asMutableShortObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableShortObjectMapFactory
-
ofAll
Description copied from interface:MutableShortObjectMapFactory- Specified by:
ofAllin interfaceMutableShortObjectMapFactory
-
withAll
- Specified by:
withAllin 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:MutableShortObjectMapFactoryCreates anMutableShortObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableShortObjectMapFactory
-