Class MutableObjectIntHashingStrategyMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableObjectIntHashingStrategyMapFactoryImpl
-
- All Implemented Interfaces:
MutableObjectIntHashingStrategyMapFactory
public class MutableObjectIntHashingStrategyMapFactoryImpl extends java.lang.Object implements MutableObjectIntHashingStrategyMapFactory
MutableObjectIntHashingStrategyMapFactoryImpl is a factory implementation which creates instances of typeMutableObjectIntMap
. This file was automatically generated from template file mutableObjectPrimitiveHashingStrategyMapFactoryImpl.stg.- Since:
- 11.1.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableObjectIntHashingStrategyMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableObjectIntHashingStrategyMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K> MutableObjectIntMap<K>
empty(HashingStrategy<? super K> hashingStrategy)
<K> MutableObjectIntMap<K>
of(HashingStrategy<? super K> hashingStrategy)
Same as#empty()
.<K> MutableObjectIntMap<K>
with(HashingStrategy<? super K> hashingStrategy)
Same as#empty()
.<K> MutableObjectIntMap<K>
withInitialCapacity(HashingStrategy<? super K> hashingStrategy, int initialCapacity)
Same as#empty()
but takes in an initial capacity
-
-
-
Field Detail
-
INSTANCE
public static final MutableObjectIntHashingStrategyMapFactory INSTANCE
-
-
Method Detail
-
empty
public <K> MutableObjectIntMap<K> empty(HashingStrategy<? super K> hashingStrategy)
- Specified by:
empty
in interfaceMutableObjectIntHashingStrategyMapFactory
-
of
public <K> MutableObjectIntMap<K> of(HashingStrategy<? super K> hashingStrategy)
Description copied from interface:MutableObjectIntHashingStrategyMapFactory
Same as#empty()
.- Specified by:
of
in interfaceMutableObjectIntHashingStrategyMapFactory
-
with
public <K> MutableObjectIntMap<K> with(HashingStrategy<? super K> hashingStrategy)
Description copied from interface:MutableObjectIntHashingStrategyMapFactory
Same as#empty()
.- Specified by:
with
in interfaceMutableObjectIntHashingStrategyMapFactory
-
withInitialCapacity
public <K> MutableObjectIntMap<K> withInitialCapacity(HashingStrategy<? super K> hashingStrategy, int initialCapacity)
Description copied from interface:MutableObjectIntHashingStrategyMapFactory
Same as#empty()
but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableObjectIntHashingStrategyMapFactory
-
-