com.attachmate.cicsbridge
Class Position
java.lang.Object
com.attachmate.cicsbridge.Position
- Direct Known Subclasses:
- Dimension
public class Position
- extends java.lang.Object
Utility class to represent x, y coordinates
- Since:
- 1.0
Constructor Summary |
Position(int row,
int col)
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Position
public Position(int row,
int col)
throws java.lang.IllegalArgumentException
- Parameters:
row
- col
-
- Throws:
java.lang.IllegalArgumentException
- row and length must be positive non zero numbers
getRow
public int getRow()
getColumn
public int getColumn()
equals
public boolean equals(java.lang.Object compareTo)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object