enum 활용
public enum TestEnum {TEST_0(0, "text 0", 12),TEST_1(1, "text 1", 34)),TEST_2(2, "text 2", 56) private final int value0;private final String value1;private final int value2; TestEnum(int v0, String v1, int v2) {value0 = v0;value1 = v1;value2 = v2;} public int getValue0( ) {return value0;} public String getValue1( ) {return value1} public int getValue2( ) {return value2;} } ... TestEnum test0 = T..