I use the enum to make a few constants:
enum ids {OPEN, CLOSE};
the OPEN value is zero, but I want it as 100. Is it possible?
If you use very big enum types then, following can be useful;
public enum deneme { UPDATE, UPDATE_FAILED; private static Map ss = new TreeMap(); private static final int START_VALUE = 100; private int value; static { for(int i=0;i