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

public Class ImmutableLongIntMapFactoryImpl

extends Object
implements ImmutableLongIntMapFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.map.primitive.ImmutableLongIntMapFactory
Annotations
@ServiceProvider:ImmutableLongIntMapFactory
Imports
org.eclipse.collections.api.block.function.primitive.LongFunction, .IntFunction, org.eclipse.collections.api.factory.map.primitive.ImmutableLongIntMapFactory, org.eclipse.collections.api.map.primitive.ImmutableLongIntMap, .LongIntMap, org.eclipse.collections.impl.factory.primitive.LongIntMaps

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

Field Summary

Modifier and TypeField and Description
public static final ImmutableLongIntMapFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

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

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

Field Detail

INSTANCEback to summary
public static final ImmutableLongIntMapFactory INSTANCE

Constructor Detail

ImmutableLongIntMapFactoryImplback to summary
public ImmutableLongIntMapFactoryImpl()

Method Detail

emptyback to summary
public ImmutableLongIntMap empty()

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

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

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

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

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

Annotations
@Override
ofback to summary
public ImmutableLongIntMap of()

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

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

Same as empty().

Annotations
@Override
ofback to summary
public ImmutableLongIntMap of(long key, int value)

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

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

Same as with(long, int).

Annotations
@Override
ofAllback to summary
public ImmutableLongIntMap ofAll(LongIntMap map)

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

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

Same as withAll(LongIntMap).

Annotations
@Override
withback to summary
public ImmutableLongIntMap with()

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

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

Same as empty().

Annotations
@Override
withback to summary
public ImmutableLongIntMap with(long key, int value)

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

Annotations
@Override
withAllback to summary
public ImmutableLongIntMap withAll(LongIntMap map)

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

Annotations
@Override