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 typeImmutableShortObjectMap. This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableShortObjectMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortObjectMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> ImmutableShortObjectMap<V>empty()<T,V>
ImmutableShortObjectMap<V>from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)<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 Detail
-
INSTANCE
public static final ImmutableShortObjectMapFactory INSTANCE
-
-
Method Detail
-
empty
public <V> ImmutableShortObjectMap<V> empty()
- Specified by:
emptyin interfaceImmutableShortObjectMapFactory
-
of
public <V> ImmutableShortObjectMap<V> of()
- Specified by:
ofin interfaceImmutableShortObjectMapFactory
-
with
public <V> ImmutableShortObjectMap<V> with()
- Specified by:
within interfaceImmutableShortObjectMapFactory
-
of
public <V> ImmutableShortObjectMap<V> of(short key, V value)
- Specified by:
ofin interfaceImmutableShortObjectMapFactory
-
with
public <V> ImmutableShortObjectMap<V> with(short key, V value)
- Specified by:
within interfaceImmutableShortObjectMapFactory
-
ofAll
public <V> ImmutableShortObjectMap<V> ofAll(ShortObjectMap<? extends V> map)
- Specified by:
ofAllin interfaceImmutableShortObjectMapFactory
-
withAll
public <V> ImmutableShortObjectMap<V> withAll(ShortObjectMap<? extends V> map)
- Specified by:
withAllin interfaceImmutableShortObjectMapFactory
-
from
public <T,V> ImmutableShortObjectMap<V> from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
- Specified by:
fromin interfaceImmutableShortObjectMapFactory
-
-