Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
package org.litesoft.sandbox.anywhere.die;

public enum View {
    Result, North, East, West, South, Other;

    public View opposite() {
        return values()[5 - ordinal()];
    }

    public static View fromOrdinal( int pOrdinal ) {
        return values()[pOrdinal];
    }
}

Commits for litesoft/trunk/GWT_Sandbox/MultiModule/anywhere/src/org/litesoft/sandbox/anywhere/die/View.java

Diff revisions: vs.
Revision Author Commited Message
948 Diff Diff GeorgeS picture GeorgeS Sat 07 Jun, 2014 23:42:39 +0000

Jusefuls Formatter Updated to New Code Format

540 GeorgeS picture GeorgeS Mon 03 Oct, 2011 04:22:28 +0000