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