-
Notifications
You must be signed in to change notification settings - Fork 587
/
primitiveLists.stg
39 lines (30 loc) · 1.27 KB
/
primitiveLists.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
import "copyright.stg"
targetPath() ::= "org/eclipse/collections/impl/factory/primitive"
fileName(primitive) ::= "<primitive.name>Lists"
class(primitive) ::= <<
<body(primitive.type, primitive.name)>
>>
body(type, name) ::= <<
<copyright()>
package org.eclipse.collections.impl.factory.primitive;
import org.eclipse.collections.api.factory.list.primitive.Immutable<name>ListFactory;
import org.eclipse.collections.api.factory.list.primitive.Mutable<name>ListFactory;
import org.eclipse.collections.impl.list.immutable.primitive.Immutable<name>ListFactoryImpl;
import org.eclipse.collections.impl.list.mutable.primitive.Mutable<name>ListFactoryImpl;
/**
* <name>Lists is a static utility for creating {@link Immutable<name>ListFactory} and {@link Mutable<name>ListFactory}.
* This file was automatically generated from template file primitiveLists.stg.
*
* @since 3.2.
*/
@SuppressWarnings("ConstantNamingConvention")
public final class <name>Lists
{
public static final Immutable<name>ListFactory immutable = Immutable<name>ListFactoryImpl.INSTANCE;
public static final Mutable<name>ListFactory mutable = Mutable<name>ListFactoryImpl.INSTANCE;
private <name>Lists()
{
throw new AssertionError("Suppress default constructor for noninstantiability");
}
}
>>