Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package org.litesoft.sandbox.multimodule.foundation.client;

public enum Places
{
    Home, // ... 0
    Front, // .. 1
    Top, // .... 2
    Left, // ... 3
    Right, // .. 4
    Bottom, // . 5
    Back; // ... 6

    public Places getOppositeFace()
    {
        return values()[7-ordinal()];
    }

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

Commits for litesoft/trunk/GWT_Sandbox/MultiModule/foundation/src/org/litesoft/sandbox/multimodule/foundation/client/Places.java

Diff revisions: vs.
Revision Author Commited Message
548 Diff Diff GeorgeS picture GeorgeS Mon 10 Oct, 2011 19:08:21 +0000
540 GeorgeS picture GeorgeS Mon 03 Oct, 2011 04:22:28 +0000