com.anji.imaging
Class CardinalDirection

java.lang.Object
  extended bycom.anji.imaging.CardinalDirection

public class CardinalDirection
extends java.lang.Object

Enumerated type representing 4 cardinal directions, north, south, east , west;

Author:
Philip Tucker

Field Summary
static CardinalDirection EAST
          east
static CardinalDirection NORTH
          north
static CardinalDirection SOUTH
          south
static CardinalDirection WEST
          west
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
          define this so objects may be used in hash tables
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NORTH

public static final CardinalDirection NORTH
north


SOUTH

public static final CardinalDirection SOUTH
south


EAST

public static final CardinalDirection EAST
east


WEST

public static final CardinalDirection WEST
west

Method Detail

equals

public boolean equals(java.lang.Object o)
See Also:
Object.equals(java.lang.Object)

toString

public java.lang.String toString()
See Also:
Object.toString()

hashCode

public int hashCode()
define this so objects may be used in hash tables

See Also:
Object.hashCode()