Class ImmutableIntObjectMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntObjectMapFactoryImpl
- All Implemented Interfaces:
ImmutableIntObjectMapFactory
public class ImmutableIntObjectMapFactoryImpl
extends Object
implements ImmutableIntObjectMapFactory
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V> ImmutableIntObjectMap<V>empty()<T,V> ImmutableIntObjectMap<V> from(Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) <V> ImmutableIntObjectMap<V>of()<V> ImmutableIntObjectMap<V>of(int key, V value) <V> ImmutableIntObjectMap<V>ofAll(IntObjectMap<? extends V> map) <V> ImmutableIntObjectMap<V>with()<V> ImmutableIntObjectMap<V>with(int key, V value) <V> ImmutableIntObjectMap<V>withAll(IntObjectMap<? extends V> map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableIntObjectMapFactoryImpl
public ImmutableIntObjectMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableIntObjectMapFactory
-
of
- Specified by:
ofin interfaceImmutableIntObjectMapFactory
-
with
- Specified by:
within interfaceImmutableIntObjectMapFactory
-
of
- Specified by:
ofin interfaceImmutableIntObjectMapFactory
-
with
- Specified by:
within interfaceImmutableIntObjectMapFactory
-
ofAll
- Specified by:
ofAllin interfaceImmutableIntObjectMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableIntObjectMapFactory
-
from
public <T,V> ImmutableIntObjectMap<V> from(Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) - Specified by:
fromin interfaceImmutableIntObjectMapFactory
-