java.lang.Comparable<SubstanceTableUI.TableCellId>public static class SubstanceTableUI.TableCellId extends java.lang.Object implements java.lang.Comparable<SubstanceTableUI.TableCellId>
| Modifier and Type | Field | Description |
|---|---|---|
protected int |
column |
Cell column.
|
protected int |
row |
Cell row.
|
| Constructor | Description |
|---|---|
TableCellId(int row,
int column) |
Creates a new cell ID.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
compareTo(SubstanceTableUI.TableCellId o) |
|
boolean |
equals(java.lang.Object obj) |
|
int |
hashCode() |
|
java.lang.String |
toString() |
public TableCellId(int row,
int column)
row - Cell row.column - Cell column.public int compareTo(SubstanceTableUI.TableCellId o)
compareTo in interface java.lang.Comparable<SubstanceTableUI.TableCellId>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object