Package io.guise.framework.model
Class TableModel.Cell<C>
java.lang.Object
io.guise.framework.model.TableModel.Cell<C>
- Type Parameters:
C
- The type of value contained in the cell.
- Enclosing interface:
- TableModel
A lightweight class representing a row and column in a table. This class is useful as a map key, for instance.
- Author:
- Garret Wilson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines whether the given object is equal to this object.int
int
hashCode()
-
Constructor Details
-
Cell
Row and column constructor- Parameters:
rowIndex
- The zero-based cell row index.column
- The cell column.- Throws:
NullPointerException
- if the given column is null.
-
-
Method Details
-
getRowIndex
public int getRowIndex()- Returns:
- The zero-based row index.
-
getColumn
- Returns:
- The column.
-
equals
Determines whether the given object is equal to this object. -
hashCode
public int hashCode()
-