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