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