Skip to content

Instantly share code, notes, and snippets.

@evetools
Created September 22, 2011 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save evetools/1235586 to your computer and use it in GitHub Desktop.
Save evetools/1235586 to your computer and use it in GitHub Desktop.
private static enum DBColumnTypes {
BOOL(1);
private final int num;
private DBColumnTypes(int type) {
this.num = type;
}
}
switch (1) {
case DBColumnTypes.BOOL:
break
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment