Jadex 0.96

jadex.examples.hunterprey
Class Location

java.lang.Object
  extended by jadex.examples.hunterprey.LocationData
      extended by jadex.examples.hunterprey.Location
All Implemented Interfaces:
nuggets.INugget

public class Location
extends LocationData

Editable Java class for concept Location of hunterprey ontology.


Nested Class Summary
 
Nested classes/interfaces inherited from interface nuggets.INugget
nuggets.INugget.Helper
 
Constructor Summary
Location()
          Create a new Location.
Location(int x, int y)
          Create a new Location.
 
Method Summary
 boolean equals(Object o)
          Test if two locations are equal.
 int hashCode()
          The hashcode is the 16 bit shifted x position plus the y position.
 
Methods inherited from class jadex.examples.hunterprey.LocationData
_persist, _set, getX, getY, setX, setY, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location

public Location()
Create a new Location.


Location

public Location(int x,
                int y)
Create a new Location.

Method Detail

equals

public boolean equals(Object o)
Test if two locations are equal.

Overrides:
equals in class Object

hashCode

public int hashCode()
The hashcode is the 16 bit shifted x position plus the y position.

Overrides:
hashCode in class Object
Returns:
The hashcode.

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.