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