Class Position
- java.lang.Object
- 
- jadex.bdi.examples.garbagecollector_classic.Position
 
- 
 public class Position extends java.lang.ObjectThe position on a grid.
- 
- 
Constructor SummaryConstructors Constructor Description Position(int x, int y)Create a position.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)intgetX()Get the x value.intgetY()Get the y value.inthashCode()java.lang.StringtoString()Get the string representation.
 
- 
- 
- 
Method Detail- 
getXpublic int getX() Get the x value.
 - 
getYpublic int getY() Get the y value.
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() Get the string representation.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- The string representation.
 
 
- 
 
-