Created
October 13, 2009 21:59
-
-
Save edgars/209602 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum Enumeration { | |
ENUM_1(1), | |
ENUM_2(2), | |
ENUM_3(3), | |
ENUM_4(4); | |
private int code; | |
private Enumeration(final int code) { | |
this.code = code; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment