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

public Class ImmutableShortLongMapFactoryImpl

extends Object
implements ImmutableShortLongMapFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.map.primitive.ImmutableShortLongMapFactory
Annotations
@ServiceProvider:ImmutableShortLongMapFactory
Imports
org.eclipse.collections.api.block.function.primitive.ShortFunction, .LongFunction, org.eclipse.collections.api.factory.map.primitive.ImmutableShortLongMapFactory, org.eclipse.collections.api.map.primitive.ImmutableShortLongMap, .ShortLongMap, org.eclipse.collections.impl.factory.primitive.ShortLongMaps

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

Field Summary

Modifier and TypeField and Description
public static final ImmutableShortLongMapFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

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

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

Field Detail

INSTANCEback to summary
public static final ImmutableShortLongMapFactory INSTANCE

Constructor Detail

ImmutableShortLongMapFactoryImplback to summary
public ImmutableShortLongMapFactoryImpl()

Method Detail

emptyback to summary
public ImmutableShortLongMap empty()

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

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

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

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

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

Annotations
@Override
ofback to summary
public ImmutableShortLongMap of()

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

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

Same as empty().

Annotations
@Override
ofback to summary
public ImmutableShortLongMap of(short key, long value)

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

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

Same as with(short, long).

Annotations
@Override
ofAllback to summary
public ImmutableShortLongMap ofAll(ShortLongMap map)

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

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

Same as withAll(ShortLongMap).

Annotations
@Override
withback to summary
public ImmutableShortLongMap with()

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

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

Same as empty().

Annotations
@Override
withback to summary
public ImmutableShortLongMap with(short key, long value)

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

Annotations
@Override
withAllback to summary
public ImmutableShortLongMap withAll(ShortLongMap map)

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

Annotations
@Override