-
Notifications
You must be signed in to change notification settings - Fork 587
/
primitiveSetsAPI.stg
40 lines (31 loc) · 1.24 KB
/
primitiveSetsAPI.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
import "copyrightAndOthers.stg"
targetPath() ::= "org/eclipse/collections/api/factory/primitive"
fileName(primitive) ::= "<primitive.name>Sets"
class(primitive) ::= <<
<body(primitive.type, primitive.name)>
>>
body(type, name) ::= <<
<copyrightAndOthers()>
package org.eclipse.collections.api.factory.primitive;
import org.eclipse.collections.api.factory.ServiceLoaderUtils;
import org.eclipse.collections.api.factory.set.primitive.Immutable<name>SetFactory;
import org.eclipse.collections.api.factory.set.primitive.Mutable<name>SetFactory;
/**
* <name>Sets is a static utility for creating {@link Immutable<name>SetFactory} and {@link Mutable<name>SetFactory}.
* This file was automatically generated from template file primitiveSetsAPI.stg.
*
* @since 11.1.
*/
@SuppressWarnings("ConstantNamingConvention")
public final class <name>Sets
{
public static final Immutable<name>SetFactory immutable =
ServiceLoaderUtils.loadServiceClass(Immutable<name>SetFactory.class);
public static final Mutable<name>SetFactory mutable =
ServiceLoaderUtils.loadServiceClass(Mutable<name>SetFactory.class);
private <name>Sets()
{
throw new AssertionError("Suppress default constructor for noninstantiability");
}
}
>>