blob: 3c48ba6e6f7e7b6c21af7a339949f32b8da64454 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// "Create Enum Constant 'CRIME'" "true"
import java.util.*;
class AutomaticTypeInference {
AutomaticTypeInference(List<E> gs) {
}
public static void main(String[] args) {
new AutomaticTypeInference(Arrays.asList(E.ACTION, E.CRIME));
}
enum E {
ACTION, CRIME;
}
}
|