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