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

public Class ImmutableLongShortMapFactoryImpl

extends Object
implements ImmutableLongShortMapFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.map.primitive.ImmutableLongShortMapFactory
Annotations
@ServiceProvider:ImmutableLongShortMapFactory
Imports
org.eclipse.collections.api.block.function.primitive.LongFunction, .ShortFunction, org.eclipse.collections.api.factory.map.primitive.ImmutableLongShortMapFactory, org.eclipse.collections.api.map.primitive.ImmutableLongShortMap, .LongShortMap, org.eclipse.collections.impl.factory.primitive.LongShortMaps

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

Field Summary

Modifier and TypeField and Description
public static final ImmutableLongShortMapFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

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

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

Field Detail

INSTANCEback to summary
public static final ImmutableLongShortMapFactory INSTANCE

Constructor Detail

ImmutableLongShortMapFactoryImplback to summary
public ImmutableLongShortMapFactoryImpl()

Method Detail

emptyback to summary
public ImmutableLongShortMap empty()

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

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

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

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

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

Annotations
@Override
ofback to summary
public ImmutableLongShortMap of()

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

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

Same as empty().

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

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

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

Same as with(long, short).

Annotations
@Override
ofAllback to summary
public ImmutableLongShortMap ofAll(LongShortMap map)

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

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

Same as withAll(LongShortMap).

Annotations
@Override
withback to summary
public ImmutableLongShortMap with()

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

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

Same as empty().

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

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

Annotations
@Override
withAllback to summary
public ImmutableLongShortMap withAll(LongShortMap map)

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

Annotations
@Override