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