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

public Class ImmutableShortIntMapFactoryImpl

extends Object
implements ImmutableShortIntMapFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.map.primitive.ImmutableShortIntMapFactory
Annotations
@ServiceProvider:ImmutableShortIntMapFactory
Imports
org.eclipse.collections.api.block.function.primitive.ShortFunction, .IntFunction, org.eclipse.collections.api.factory.map.primitive.ImmutableShortIntMapFactory, org.eclipse.collections.api.map.primitive.ImmutableShortIntMap, .ShortIntMap, org.eclipse.collections.impl.factory.primitive.ShortIntMaps

ImmutableShortIntMapFactoryImpl is a factory implementation which creates instances of type ImmutableShortIntMap. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.
Since
4.0.

Field Summary

Modifier and TypeField and Description
public static final ImmutableShortIntMapFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ImmutableShortIntMap
public <T> ImmutableShortIntMap
from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)

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

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

public ImmutableShortIntMap
public ImmutableShortIntMap
public ImmutableShortIntMap
public ImmutableShortIntMap
public ImmutableShortIntMap
public ImmutableShortIntMap
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final ImmutableShortIntMapFactory INSTANCE

Constructor Detail

ImmutableShortIntMapFactoryImplback to summary
public ImmutableShortIntMapFactoryImpl()

Method Detail

emptyback to summary
public ImmutableShortIntMap empty()

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

Annotations
@Override
fromback to summary
public <T> ImmutableShortIntMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)

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

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

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

Annotations
@Override
ofback to summary
public ImmutableShortIntMap of()

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

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

Same as empty().

Annotations
@Override
ofback to summary
public ImmutableShortIntMap of(short key, int value)

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

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

Same as with(short, int).

Annotations
@Override
ofAllback to summary
public ImmutableShortIntMap ofAll(ShortIntMap map)

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

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

Same as withAll(ShortIntMap).

Annotations
@Override
withback to summary
public ImmutableShortIntMap with()

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

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

Same as empty().

Annotations
@Override
withback to summary
public ImmutableShortIntMap with(short key, int value)

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

Annotations
@Override
withAllback to summary
public ImmutableShortIntMap withAll(ShortIntMap map)

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

Annotations
@Override