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

public Class ImmutableObjectIntMapFactoryImpl

extends Object
implements ImmutableObjectIntMapFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.map.primitive.ImmutableObjectIntMapFactory
Annotations
@ServiceProvider:ImmutableObjectIntMapFactory
Imports
org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.block.function.primitive.IntFunction, org.eclipse.collections.api.factory.map.primitive.ImmutableObjectIntMapFactory, org.eclipse.collections.api.map.primitive.ImmutableObjectIntMap, .MutableObjectIntMap, .ObjectIntMap, org.eclipse.collections.impl.factory.primitive.ObjectIntMaps

ImmutableObjectIntMapFactoryImpl is a factory implementation which creates instances of type ImmutableObjectIntMap. This file was automatically generated from template file immutableObjectPrimitiveMapFactoryImpl.stg.
Since
4.0.

Field Summary

Modifier and TypeField and Description
public static final ImmutableObjectIntMapFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

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

public <K> ImmutableObjectIntMap<K>
public <K> ImmutableObjectIntMap<K>
public <K> ImmutableObjectIntMap<K>
public <K> ImmutableObjectIntMap<K>
public <K> ImmutableObjectIntMap<K>
public <K> ImmutableObjectIntMap<K>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final ImmutableObjectIntMapFactory INSTANCE

Constructor Detail

ImmutableObjectIntMapFactoryImplback to summary
public ImmutableObjectIntMapFactoryImpl()

Method Detail

emptyback to summary
public <K> ImmutableObjectIntMap<K> empty()

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

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

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

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

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

Annotations
@Override
ofback to summary
public <K> ImmutableObjectIntMap<K> of()

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

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

Same as empty().

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

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

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

Same as with(Object, int).

Annotations
@Override
ofAllback to summary
public <K> ImmutableObjectIntMap<K> ofAll(ObjectIntMap<? extends K> map)

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

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

Same as withAll(ObjectIntMap).

Annotations
@Override
withback to summary
public <K> ImmutableObjectIntMap<K> with()

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

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

Same as empty().

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

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

Annotations
@Override
withAllback to summary
public <K> ImmutableObjectIntMap<K> withAll(ObjectIntMap<? extends K> map)

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

Annotations
@Override