gecco.server.visibility
Class Point

java.lang.Object
  |
  +--gecco.server.visibility.Point
All Implemented Interfaces:
Comparable

public class Point
extends Object
implements Comparable

Description of the Class

Author:
Karl Hasselström

Field Summary
 int x
          Description of the Field
 int y
          Description of the Field
 
Constructor Summary
Point(int x, int y)
          Constructor for the Point object
 
Method Summary
 int compareTo(Object o)
          Description of the Method
 boolean equals(Object o)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public int x
Description of the Field

y

public int y
Description of the Field
Constructor Detail

Point

public Point(int x,
             int y)
Constructor for the Point object
Parameters:
x - Description of Parameter
y - Description of Parameter
Method Detail

compareTo

public int compareTo(Object o)
Description of the Method
Specified by:
compareTo in interface Comparable
Parameters:
o - Description of Parameter
Returns:
Description of the Returned Value

equals

public boolean equals(Object o)
Description of the Method
Overrides:
equals in class Object
Parameters:
o - Description of Parameter
Returns:
Description of the Returned Value