class Test {

    enum SomeEnum {
        VAL1(42, "hui"),
        VAL2(100500, "pizda"),
        VAL3(7, "djigurda");

        private final int id;
        private final String anotherShit;

        private SomeEnum(int id, String anotherShit) {
            this.id = id;
            this.anotherShit = anotherShit;
        }

        public int id() {
            return id;
        }
        public String anotherShit() {
            return anotherShit;
        }
    }

    public static void main(String[] args) {
        for (SomeEnum e : SomeEnum.values()) {
            System.out.println(e.toString() + " " + e.ordinal() + " " +
                e.id() + " " + e.anotherShit());
        }
    }

}