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