Class ImmutableIntIntMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntIntMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableIntIntMapFactory
public class ImmutableIntIntMapFactoryImpl extends Object implements ImmutableIntIntMapFactory
ImmutableIntIntMapFactoryImpl is a factory implementation which creates instances of typeImmutableIntIntMap. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableIntIntMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntIntMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntIntMapempty()<T> ImmutableIntIntMapfrom(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)ImmutableIntIntMapof()ImmutableIntIntMapof(int key, int value)ImmutableIntIntMapofAll(IntIntMap map)ImmutableIntIntMapwith()ImmutableIntIntMapwith(int key, int value)ImmutableIntIntMapwithAll(IntIntMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntIntMap empty()
- Specified by:
emptyin interfaceImmutableIntIntMapFactory
-
of
public ImmutableIntIntMap of()
- Specified by:
ofin interfaceImmutableIntIntMapFactory
-
with
public ImmutableIntIntMap with()
- Specified by:
within interfaceImmutableIntIntMapFactory
-
of
public ImmutableIntIntMap of(int key, int value)
- Specified by:
ofin interfaceImmutableIntIntMapFactory
-
with
public ImmutableIntIntMap with(int key, int value)
- Specified by:
within interfaceImmutableIntIntMapFactory
-
ofAll
public ImmutableIntIntMap ofAll(IntIntMap map)
- Specified by:
ofAllin interfaceImmutableIntIntMapFactory
-
withAll
public ImmutableIntIntMap withAll(IntIntMap map)
- Specified by:
withAllin interfaceImmutableIntIntMapFactory
-
from
public <T> ImmutableIntIntMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
- Specified by:
fromin interfaceImmutableIntIntMapFactory
-
-