Top Description Fields Constructors Methods
org.eclipse.collections.impl.map.immutable.primitive

public Class ImmutableShortObjectMapFactoryImpl

extends Object
implements ImmutableShortObjectMapFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory
Annotations
@ServiceProvider:ImmutableShortObjectMapFactory
Imports
org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.block.function.primitive.ShortFunction, org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory, org.eclipse.collections.api.map.primitive.ImmutableShortObjectMap, .ShortObjectMap, org.eclipse.collections.impl.factory.primitive.ShortObjectMaps

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

Modifier and TypeField and Description
public static final ImmutableShortObjectMapFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public <V> ImmutableShortObjectMap<V>
public <T, V> ImmutableShortObjectMap<V>
from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction)

Implements org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory.from.

Creates an ImmutableShortObjectMap from an Iterable<T> by applying keyFunction and valueFunction.

public <V> ImmutableShortObjectMap<V>
public <V> ImmutableShortObjectMap<V>
public <V> ImmutableShortObjectMap<V>
public <V> ImmutableShortObjectMap<V>
public <V> ImmutableShortObjectMap<V>
public <V> ImmutableShortObjectMap<V>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final ImmutableShortObjectMapFactory INSTANCE

Constructor Detail

ImmutableShortObjectMapFactoryImplback to summary
public ImmutableShortObjectMapFactoryImpl()

Method Detail

emptyback to summary
public <V> ImmutableShortObjectMap<V> empty()

Implements org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory.empty.

Annotations
@Override
fromback to summary
public <T, V> ImmutableShortObjectMap<V> from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction)

Implements org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory.from.

Doc from org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory.from.

Creates an ImmutableShortObjectMap from an Iterable<T> by applying keyFunction and valueFunction.

Annotations
@Override
ofback to summary
public <V> ImmutableShortObjectMap<V> of()

Implements org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory.of.

Doc from org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory.of.

Same as empty().

Annotations
@Override
ofback to summary
public <V> ImmutableShortObjectMap<V> of(short key, V value)

Implements org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory.of.

Doc from org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory.of.

Same as with(short, Object).

Annotations
@Override
ofAllback to summary
public <V> ImmutableShortObjectMap<V> ofAll(ShortObjectMap<? extends V> map)

Implements org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory.ofAll.

Doc from org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory.ofAll.

Same as withAll(ShortObjectMap).

Annotations
@Override
withback to summary
public <V> ImmutableShortObjectMap<V> with()

Implements org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory.with.

Doc from org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory.with.

Same as empty().

Annotations
@Override
withback to summary
public <V> ImmutableShortObjectMap<V> with(short key, V value)

Implements org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory.with.

Annotations
@Override
withAllback to summary
public <V> ImmutableShortObjectMap<V> withAll(ShortObjectMap<? extends V> map)

Implements org.eclipse.collections.api.factory.map.primitive.ImmutableShortObjectMapFactory.withAll.

Annotations
@Override