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 typeImmutableIntObjectMap. This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableIntObjectMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntObjectMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <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 Detail
-
INSTANCE
public static final ImmutableIntObjectMapFactory INSTANCE
-
-
Method Detail
-
empty
public <V> ImmutableIntObjectMap<V> empty()
- Specified by:
emptyin interfaceImmutableIntObjectMapFactory
-
of
public <V> ImmutableIntObjectMap<V> of()
- Specified by:
ofin interfaceImmutableIntObjectMapFactory
-
with
public <V> ImmutableIntObjectMap<V> with()
- Specified by:
within interfaceImmutableIntObjectMapFactory
-
of
public <V> ImmutableIntObjectMap<V> of(int key, V value)
- Specified by:
ofin interfaceImmutableIntObjectMapFactory
-
with
public <V> ImmutableIntObjectMap<V> with(int key, V value)
- Specified by:
within interfaceImmutableIntObjectMapFactory
-
ofAll
public <V> ImmutableIntObjectMap<V> ofAll(IntObjectMap<? extends V> map)
- Specified by:
ofAllin interfaceImmutableIntObjectMapFactory
-
withAll
public <V> ImmutableIntObjectMap<V> withAll(IntObjectMap<? extends V> map)
- 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
-
-