| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public int | Returns: the cursor positionthe new row row, int the new column col)A cursor position combines a row number with a column position. |
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public int | |
| public int | |
| public void | |
| public void | |
| public String |
| Size | back to summary |
|---|---|
| public Size() | |
| Size | back to summary |
|---|---|
public Size(int columns, int rows)
| |
| copy | back to summary |
|---|---|
| public void copy(Size size) | |
| cursorPos | back to summary |
|---|---|
| public int cursorPos(int row, int col) A cursor position combines a row number with a column position.
Note each row has
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getColumns | back to summary |
|---|---|
| public int getColumns() | |
| getRows | back to summary |
|---|---|
| public int getRows() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setColumns | back to summary |
|---|---|
| public void setColumns(int columns) | |
| setRows | back to summary |
|---|---|
| public void setRows(int rows) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |