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