Jadex 0.96

jadex.examples.garbagecollector
Class Position

java.lang.Object
  extended by jadex.examples.garbagecollector.Position

public class Position
extends Object

The position on a grid.


Constructor Summary
Position(int x, int y)
          Create a position.
 
Method Summary
 boolean equals(Object o)
           
 int getX()
          Get the x value.
 int getY()
          Get the y value.
 int hashCode()
           
 String toString()
          Get the string representation.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Position

public Position(int x,
                int y)
Create a position.

Method Detail

getX

public int getX()
Get the x value.


getY

public int getY()
Get the y value.


equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Get the string representation.

Overrides:
toString in class Object
Returns:
The string representation.

Jadex 0.96

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.