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
-
Constructor Summary
-
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 anImmutableShortObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<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:
empty
in interfaceImmutableShortObjectMapFactory
-
of
Description copied from interface:ImmutableShortObjectMapFactory
- Specified by:
of
in interfaceImmutableShortObjectMapFactory
-
with
Description copied from interface:ImmutableShortObjectMapFactory
- Specified by:
with
in interfaceImmutableShortObjectMapFactory
-
of
Description copied from interface:ImmutableShortObjectMapFactory
- Specified by:
of
in interfaceImmutableShortObjectMapFactory
-
with
- Specified by:
with
in interfaceImmutableShortObjectMapFactory
-
ofAll
Description copied from interface:ImmutableShortObjectMapFactory
- Specified by:
ofAll
in interfaceImmutableShortObjectMapFactory
-
withAll
- Specified by:
withAll
in 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:ImmutableShortObjectMapFactory
Creates anImmutableShortObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableShortObjectMapFactory
-