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

public Class ImmutableObjectShortMapFactoryImpl

extends Object
implements ImmutableObjectShortMapFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.map.primitive.ImmutableObjectShortMapFactory
Annotations
@ServiceProvider:ImmutableObjectShortMapFactory
Imports
org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.block.function.primitive.ShortFunction, org.eclipse.collections.api.factory.map.primitive.ImmutableObjectShortMapFactory, org.eclipse.collections.api.map.primitive.ImmutableObjectShortMap, .MutableObjectShortMap, .ObjectShortMap, org.eclipse.collections.impl.factory.primitive.ObjectShortMaps

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

Field Summary

Modifier and TypeField and Description
public static final ImmutableObjectShortMapFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

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

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

Field Detail

INSTANCEback to summary
public static final ImmutableObjectShortMapFactory INSTANCE

Constructor Detail

ImmutableObjectShortMapFactoryImplback to summary
public ImmutableObjectShortMapFactoryImpl()

Method Detail

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

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

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

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

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

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

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

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

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

Same as empty().

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

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

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

Same as with(Object, short).

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

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

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

Same as withAll(ObjectShortMap).

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

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

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

Same as empty().

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

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

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

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

Annotations
@Override