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