Class ImmutableShortObjectMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableShortObjectMapFactoryImpl
- All Implemented Interfaces:
ImmutableShortObjectMapFactory
public class ImmutableShortObjectMapFactoryImpl
extends Object
implements ImmutableShortObjectMapFactory
ImmutableShortObjectMapFactoryImpl is a factory implementation which creates instances of type
ImmutableShortObjectMap.
This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V> ImmutableShortObjectMap<V> empty()<T,V> ImmutableShortObjectMap <V> from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anImmutableShortObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<V> ImmutableShortObjectMap<V> of()<V> ImmutableShortObjectMap<V> of(short key, V value) <V> ImmutableShortObjectMap<V> ofAll(ShortObjectMap<? extends V> map) <V> ImmutableShortObjectMap<V> with()<V> ImmutableShortObjectMap<V> with(short key, V value) <V> ImmutableShortObjectMap<V> withAll(ShortObjectMap<? extends V> map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableShortObjectMapFactoryImpl
public ImmutableShortObjectMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableShortObjectMapFactory
-
of
Description copied from interface:ImmutableShortObjectMapFactory- Specified by:
ofin interfaceImmutableShortObjectMapFactory
-
with
Description copied from interface:ImmutableShortObjectMapFactory- Specified by:
within interfaceImmutableShortObjectMapFactory
-
of
Description copied from interface:ImmutableShortObjectMapFactory- Specified by:
ofin interfaceImmutableShortObjectMapFactory
-
with
- Specified by:
within interfaceImmutableShortObjectMapFactory
-
ofAll
Description copied from interface:ImmutableShortObjectMapFactory- Specified by:
ofAllin interfaceImmutableShortObjectMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableShortObjectMapFactory
-
from
public <T,V> ImmutableShortObjectMap<V> from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Description copied from interface:ImmutableShortObjectMapFactoryCreates anImmutableShortObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableShortObjectMapFactory
-