jubincn

导航

2012年5月12日 #

Java中的Enum的使用与分析

摘要: 转自:http://www.cnblogs.com/frankliiu-java/archive/2010/12/07/1898721.html示例:public enum EnumTest { FRANK("The given name of me"), LIU("The family name of me"); private String context; private String getContext(){ return this.context; } private EnumTest(String conte... 阅读全文

posted @ 2012-05-12 10:34 jubincn 阅读(172) 评论(0) 推荐(0)