public enum Bucket{ CONFIRMED("conf","Cf",7), FINAL("Final","Fi",5), PROJECTED("Proj","Pr",4), NULL("","",0); private String value; private String code; private int confidenceLevel; Bucket(String value, String code,String confidenceLevel){ this.code=code; this.value=value; this.confidenceLevel=confidenceLevel; } public String value(){ return this.value;} public String code() { return this.code;} public int confidenceLevel(){ return this.confidenceLevel;} private void checEnum(){ SortedMap |
My Quotes
When U were born , you cried and the world rejoiced
Live U'r life in such a way that when you go
THE WORLD SHOULD CRY
Powered by Find-IP.net
Monday, April 28, 2014
Java ENUM Sort
Subscribe to:
Post Comments
(
Atom
)
No comments :