标签:style blog color sp div 问题 c log 代码
1 public class EnumClass1 extends EnumClass { 2 private EnumClass1(String id,String key){ 3 super(id,key); 4 } 5 6 7 8 public static final EnumClass1 ENUM_1_1=new EnumClass1 ("1","1"); 9 public static final EnumClass1 ENUM_1_2=new EnumClass1 ("2","2"); 10 public static final EnumClass1 ENUM_1_3=new EnumClass1 ("3","3"); 11 // 12 public static final EnumClass1 ENUM_1_4=new EnumClass1 ("4","4"); 13 14 15 }
public class EnumClass1 extends EnumClass { private EnumClass1(String id,String key){ super(id,key); } public static EnumClass1 o(String id, String key){ return new EnumClass1(id, key); } public static final EnumClass1 ENUM_1_1=o("1","1"), ENUM_1_2=o("2","2"), ENUM_1_3=o("3","3"), // ENUM_1_4=o("4","4"); }
标签:style blog color sp div 问题 c log 代码
原文地址:http://www.cnblogs.com/laoniu85/p/4000257.html