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