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

public Class ImmutableIntObjectMapFactoryImpl

extends Object
implements ImmutableIntObjectMapFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.map.primitive.ImmutableIntObjectMapFactory
Annotations
@ServiceProvider:ImmutableIntObjectMapFactory
Imports
org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.block.function.primitive.IntFunction, org.eclipse.collections.api.factory.map.primitive.ImmutableIntObjectMapFactory, org.eclipse.collections.api.map.primitive.ImmutableIntObjectMap, .IntObjectMap, org.eclipse.collections.impl.factory.primitive.IntObjectMaps

ImmutableIntObjectMapFactoryImpl is a factory implementation which creates instances of type ImmutableIntObjectMap. This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.
Since
4.0.

Field Summary

Modifier and TypeField and Description
public static final ImmutableIntObjectMapFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public <V> ImmutableIntObjectMap<V>
public <T, V> ImmutableIntObjectMap<V>
from(Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction)

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

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

public <V> ImmutableIntObjectMap<V>
public <V> ImmutableIntObjectMap<V>
public <V> ImmutableIntObjectMap<V>
public <V> ImmutableIntObjectMap<V>
public <V> ImmutableIntObjectMap<V>
public <V> ImmutableIntObjectMap<V>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final ImmutableIntObjectMapFactory INSTANCE

Constructor Detail

ImmutableIntObjectMapFactoryImplback to summary
public ImmutableIntObjectMapFactoryImpl()

Method Detail

emptyback to summary
public <V> ImmutableIntObjectMap<V> empty()

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

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

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

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

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

Annotations
@Override
ofback to summary
public <V> ImmutableIntObjectMap<V> of()

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

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

Same as empty().

Annotations
@Override
ofback to summary
public <V> ImmutableIntObjectMap<V> of(int key, V value)

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

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

Same as with(int, Object).

Annotations
@Override
ofAllback to summary
public <V> ImmutableIntObjectMap<V> ofAll(IntObjectMap<? extends V> map)

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

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

Same as withAll(IntObjectMap).

Annotations
@Override
withback to summary
public <V> ImmutableIntObjectMap<V> with()

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

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

Same as empty().

Annotations
@Override
withback to summary
public <V> ImmutableIntObjectMap<V> with(int key, V value)

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

Annotations
@Override
withAllback to summary
public <V> ImmutableIntObjectMap<V> withAll(IntObjectMap<? extends V> map)

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

Annotations
@Override