|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttopology.Coords
public class Coords
Class used to get or set neuron coordinate in topology.
Field Summary | |
---|---|
int |
x
x coordinate |
int |
y
y coordinate |
Constructor Summary | |
---|---|
Coords()
Creates a new instance of Coords with default coordinates (0,0). |
|
Coords(int x,
int y)
Creates a new instance of Coords with specified x and y coordinate. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" Coords class.. |
int |
getX()
Return x coordinate |
int |
getY()
Return y coordinate |
java.lang.String |
toString()
Returns a string representation of the Coords object [ x = ,y = ] |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int x
public int y
Constructor Detail |
---|
public Coords()
public Coords(int x, int y)
x
- value of xy
- value of yMethod Detail |
---|
public int getX()
public int getY()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- obj - the reference object with which to compare.
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |