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