-
Notifications
You must be signed in to change notification settings - Fork 587
/
mutableObjectPrimitiveHashingStrategyMapFactory.stg
45 lines (34 loc) · 1.31 KB
/
mutableObjectPrimitiveHashingStrategyMapFactory.stg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import "copyrightAndOthers.stg"
targetPath() ::= "org/eclipse/collections/api/factory/map/primitive"
fileName(primitive) ::= "MutableObject<primitive.name>HashingStrategyMapFactory"
class(primitive) ::= <<
<body(primitive.type, primitive.name)>
>>
body(type, name) ::= <<
<copyrightAndOthers()>
package org.eclipse.collections.api.factory.map.primitive;
import org.eclipse.collections.api.block.HashingStrategy;
import org.eclipse.collections.api.map.primitive.MutableObject<name>Map;
/**
* A factory which creates instances of type {@link MutableObject<name>Map}.
* This file was automatically generated from template file mutableObjectPrimitiveHashingStrategyMapFactory.stg.
*
* @since 11.1.
*/
public interface MutableObject<name>HashingStrategyMapFactory
{
\<K> MutableObject<name>Map\<K> empty(HashingStrategy\<? super K> hashingStrategy);
/**
* Same as {@link #empty()}.
*/
\<K> MutableObject<name>Map\<K> of(HashingStrategy\<? super K> hashingStrategy);
/**
* Same as {@link #empty()}.
*/
\<K> MutableObject<name>Map\<K> with(HashingStrategy\<? super K> hashingStrategy);
/**
* Same as {@link #empty()} but takes in an initial capacity
*/
\<K> MutableObject<name>Map\<K> withInitialCapacity(HashingStrategy\<? super K> hashingStrategy, int initialCapacity);
}
>>