Class MutableObjectLongHashingStrategyMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableObjectLongHashingStrategyMapFactoryImpl
-
- All Implemented Interfaces:
MutableObjectLongHashingStrategyMapFactory
public class MutableObjectLongHashingStrategyMapFactoryImpl extends java.lang.Object implements MutableObjectLongHashingStrategyMapFactory
MutableObjectLongHashingStrategyMapFactoryImpl is a factory implementation which creates instances of typeMutableObjectLongMap
. This file was automatically generated from template file mutableObjectPrimitiveHashingStrategyMapFactoryImpl.stg.- Since:
- 11.1.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableObjectLongHashingStrategyMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableObjectLongHashingStrategyMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <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 Detail
-
INSTANCE
public static final MutableObjectLongHashingStrategyMapFactory INSTANCE
-
-
Method Detail
-
empty
public <K> MutableObjectLongMap<K> empty(HashingStrategy<? super K> hashingStrategy)
- Specified by:
empty
in interfaceMutableObjectLongHashingStrategyMapFactory
-
of
public <K> MutableObjectLongMap<K> of(HashingStrategy<? super K> hashingStrategy)
Description copied from interface:MutableObjectLongHashingStrategyMapFactory
Same as#empty()
.- Specified by:
of
in interfaceMutableObjectLongHashingStrategyMapFactory
-
with
public <K> MutableObjectLongMap<K> with(HashingStrategy<? super K> hashingStrategy)
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
-
-