Class ImmutableIntByteMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntByteMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableIntByteMapFactory
public class ImmutableIntByteMapFactoryImpl extends java.lang.Object implements ImmutableIntByteMapFactory
ImmutableIntByteMapFactoryImpl is a factory implementation which creates instances of typeImmutableIntByteMap
. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableIntByteMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntByteMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntByteMap
empty()
<T> ImmutableIntByteMap
from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)
Creates anImmutableIntByteMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableIntByteMap
of()
Same asImmutableIntByteMapFactory.empty()
.ImmutableIntByteMap
of(int key, byte value)
ImmutableIntByteMap
ofAll(IntByteMap map)
ImmutableIntByteMap
with()
Same asImmutableIntByteMapFactory.empty()
.ImmutableIntByteMap
with(int key, byte value)
ImmutableIntByteMap
withAll(IntByteMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntByteMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntByteMap empty()
- Specified by:
empty
in interfaceImmutableIntByteMapFactory
-
of
public ImmutableIntByteMap of()
Description copied from interface:ImmutableIntByteMapFactory
Same asImmutableIntByteMapFactory.empty()
.- Specified by:
of
in interfaceImmutableIntByteMapFactory
-
with
public ImmutableIntByteMap with()
Description copied from interface:ImmutableIntByteMapFactory
Same asImmutableIntByteMapFactory.empty()
.- Specified by:
with
in interfaceImmutableIntByteMapFactory
-
of
public ImmutableIntByteMap of(int key, byte value)
Description copied from interface:ImmutableIntByteMapFactory
- Specified by:
of
in interfaceImmutableIntByteMapFactory
-
with
public ImmutableIntByteMap with(int key, byte value)
- Specified by:
with
in interfaceImmutableIntByteMapFactory
-
ofAll
public ImmutableIntByteMap ofAll(IntByteMap map)
Description copied from interface:ImmutableIntByteMapFactory
- Specified by:
ofAll
in interfaceImmutableIntByteMapFactory
-
withAll
public ImmutableIntByteMap withAll(IntByteMap map)
- Specified by:
withAll
in interfaceImmutableIntByteMapFactory
-
from
public <T> ImmutableIntByteMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)
Description copied from interface:ImmutableIntByteMapFactory
Creates anImmutableIntByteMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableIntByteMapFactory
-
-