|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.examples.hunterprey.LocationData
jadex.examples.hunterprey.Location
public class Location
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 |
---|
public Location()
public Location(int x, int y)
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.