Class MutableLongCharMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableLongCharMapFactoryImpl
-
- All Implemented Interfaces:
MutableLongCharMapFactory
public class MutableLongCharMapFactoryImpl extends java.lang.Object implements MutableLongCharMapFactory
MutableLongCharMapFactoryImpl is a factory implementation which creates instances of typeMutableLongCharMap
. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableLongCharMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableLongCharMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableLongCharMap
empty()
<T> MutableLongCharMap
from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)
Creates anMutableLongCharMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.MutableLongCharMap
of()
Same asMutableLongCharMapFactory.empty()
.MutableLongCharMap
of(long key, char value)
MutableLongCharMap
of(long key1, char value1, long key2, char value2)
MutableLongCharMap
of(long key1, char value1, long key2, char value2, long key3, char value3)
MutableLongCharMap
of(long key1, char value1, long key2, char value2, long key3, char value3, long key4, char value4)
MutableLongCharMap
ofAll(LongCharMap map)
MutableLongCharMap
ofInitialCapacity(int capacity)
Same asMutableLongCharMapFactory.empty()
.MutableLongCharMap
with()
Same asMutableLongCharMapFactory.empty()
.MutableLongCharMap
with(long key, char value)
MutableLongCharMap
with(long key1, char value1, long key2, char value2)
MutableLongCharMap
with(long key1, char value1, long key2, char value2, long key3, char value3)
MutableLongCharMap
with(long key1, char value1, long key2, char value2, long key3, char value3, long key4, char value4)
MutableLongCharMap
withAll(LongCharMap map)
MutableLongCharMap
withInitialCapacity(int capacity)
Same asMutableLongCharMapFactory.empty()
.
-
-
-
Field Detail
-
INSTANCE
public static final MutableLongCharMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableLongCharMap empty()
- Specified by:
empty
in interfaceMutableLongCharMapFactory
-
of
public MutableLongCharMap of()
Description copied from interface:MutableLongCharMapFactory
Same asMutableLongCharMapFactory.empty()
.- Specified by:
of
in interfaceMutableLongCharMapFactory
-
with
public MutableLongCharMap with()
Description copied from interface:MutableLongCharMapFactory
Same asMutableLongCharMapFactory.empty()
.- Specified by:
with
in interfaceMutableLongCharMapFactory
-
with
public MutableLongCharMap with(long key, char value)
- Specified by:
with
in interfaceMutableLongCharMapFactory
-
of
public MutableLongCharMap of(long key, char value)
- Specified by:
of
in interfaceMutableLongCharMapFactory
-
of
public MutableLongCharMap of(long key1, char value1, long key2, char value2)
- Specified by:
of
in interfaceMutableLongCharMapFactory
-
with
public MutableLongCharMap with(long key1, char value1, long key2, char value2)
- Specified by:
with
in interfaceMutableLongCharMapFactory
-
of
public MutableLongCharMap of(long key1, char value1, long key2, char value2, long key3, char value3)
- Specified by:
of
in interfaceMutableLongCharMapFactory
-
with
public MutableLongCharMap with(long key1, char value1, long key2, char value2, long key3, char value3)
- Specified by:
with
in interfaceMutableLongCharMapFactory
-
of
public MutableLongCharMap of(long key1, char value1, long key2, char value2, long key3, char value3, long key4, char value4)
- Specified by:
of
in interfaceMutableLongCharMapFactory
-
with
public MutableLongCharMap with(long key1, char value1, long key2, char value2, long key3, char value3, long key4, char value4)
- Specified by:
with
in interfaceMutableLongCharMapFactory
-
ofInitialCapacity
public MutableLongCharMap ofInitialCapacity(int capacity)
Description copied from interface:MutableLongCharMapFactory
Same asMutableLongCharMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableLongCharMapFactory
-
withInitialCapacity
public MutableLongCharMap withInitialCapacity(int capacity)
Description copied from interface:MutableLongCharMapFactory
Same asMutableLongCharMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableLongCharMapFactory
-
ofAll
public MutableLongCharMap ofAll(LongCharMap map)
Description copied from interface:MutableLongCharMapFactory
- Specified by:
ofAll
in interfaceMutableLongCharMapFactory
-
withAll
public MutableLongCharMap withAll(LongCharMap map)
- Specified by:
withAll
in interfaceMutableLongCharMapFactory
-
from
public <T> MutableLongCharMap from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)
Description copied from interface:MutableLongCharMapFactory
Creates anMutableLongCharMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableLongCharMapFactory
-
-