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

public Class ImmutableObjectLongMapFactoryImpl

extends Object
implements ImmutableObjectLongMapFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.map.primitive.ImmutableObjectLongMapFactory
Annotations
@ServiceProvider:ImmutableObjectLongMapFactory
Imports
org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.block.function.primitive.LongFunction, org.eclipse.collections.api.factory.map.primitive.ImmutableObjectLongMapFactory, org.eclipse.collections.api.map.primitive.ImmutableObjectLongMap, .MutableObjectLongMap, .ObjectLongMap, org.eclipse.collections.impl.factory.primitive.ObjectLongMaps

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

Field Summary

Modifier and TypeField and Description
public static final ImmutableObjectLongMapFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

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

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

Field Detail

INSTANCEback to summary
public static final ImmutableObjectLongMapFactory INSTANCE

Constructor Detail

ImmutableObjectLongMapFactoryImplback to summary
public ImmutableObjectLongMapFactoryImpl()

Method Detail

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

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

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

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

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

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

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

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

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

Same as empty().

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

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

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

Same as with(Object, long).

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

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

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

Same as withAll(ObjectLongMap).

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

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

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

Same as empty().

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

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

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

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

Annotations
@Override