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