Class MutableObjectLongHashingStrategyMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableObjectLongHashingStrategyMapFactoryImpl
- All Implemented Interfaces:
MutableObjectLongHashingStrategyMapFactory
public class MutableObjectLongHashingStrategyMapFactoryImpl
extends Object
implements MutableObjectLongHashingStrategyMapFactory
MutableObjectLongHashingStrategyMapFactoryImpl is a factory implementation which creates instances of type
MutableObjectLongMap
.
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> MutableObjectLongMap<K>
empty
(HashingStrategy<? super K> hashingStrategy) <K> MutableObjectLongMap<K>
of
(HashingStrategy<? super K> hashingStrategy) Same as#empty()
.<K> MutableObjectLongMap<K>
with
(HashingStrategy<? super K> hashingStrategy) Same as#empty()
.<K> MutableObjectLongMap<K>
withInitialCapacity
(HashingStrategy<? super K> hashingStrategy, int initialCapacity) Same as#empty()
but takes in an initial capacity
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableObjectLongHashingStrategyMapFactoryImpl
public MutableObjectLongHashingStrategyMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceMutableObjectLongHashingStrategyMapFactory
-
of
Description copied from interface:MutableObjectLongHashingStrategyMapFactory
Same as#empty()
.- Specified by:
of
in interfaceMutableObjectLongHashingStrategyMapFactory
-
with
Description copied from interface:MutableObjectLongHashingStrategyMapFactory
Same as#empty()
.- Specified by:
with
in interfaceMutableObjectLongHashingStrategyMapFactory
-
withInitialCapacity
public <K> MutableObjectLongMap<K> withInitialCapacity(HashingStrategy<? super K> hashingStrategy, int initialCapacity) Description copied from interface:MutableObjectLongHashingStrategyMapFactory
Same as#empty()
but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableObjectLongHashingStrategyMapFactory
-