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

public Class ImmutableIntIntMapFactoryImpl

extends Object
implements ImmutableIntIntMapFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.map.primitive.ImmutableIntIntMapFactory
Annotations
@ServiceProvider:ImmutableIntIntMapFactory
Imports
org.eclipse.collections.api.block.function.primitive.IntFunction, org.eclipse.collections.api.factory.map.primitive.ImmutableIntIntMapFactory, org.eclipse.collections.api.map.primitive.ImmutableIntIntMap, .IntIntMap, org.eclipse.collections.impl.factory.primitive.IntIntMaps

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

Field Summary

Modifier and TypeField and Description
public static final ImmutableIntIntMapFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

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

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

Field Detail

INSTANCEback to summary
public static final ImmutableIntIntMapFactory INSTANCE

Constructor Detail

ImmutableIntIntMapFactoryImplback to summary
public ImmutableIntIntMapFactoryImpl()

Method Detail

emptyback to summary
public ImmutableIntIntMap empty()

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

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

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

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

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

Annotations
@Override
ofback to summary
public ImmutableIntIntMap of()

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

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

Same as empty().

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

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

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

Same as with(int, int).

Annotations
@Override
ofAllback to summary
public ImmutableIntIntMap ofAll(IntIntMap map)

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

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

Same as withAll(IntIntMap).

Annotations
@Override
withback to summary
public ImmutableIntIntMap with()

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

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

Same as empty().

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

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

Annotations
@Override
withAllback to summary
public ImmutableIntIntMap withAll(IntIntMap map)

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

Annotations
@Override