Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
NodePosition Class Reference

Public Member Functions

 NodePosition (int row, int column)
 
int getRow ()
 
int getColumn ()
 

Data Fields

int row
 
int column
 

Detailed Description

Represents the position of a node in a table.

Author
Nathan de Vries ndvri.nosp@m.es@s.nosp@m.quiz..nosp@m.net

Definition at line 22 of file NodePosition.java.

Constructor & Destructor Documentation

NodePosition ( int  row,
int  column 
)
inline

Constructs a node position.

Parameters
rowthe row of the table that the node is in.
columnthe column of the table that the node is in.

Definition at line 32 of file NodePosition.java.

Member Function Documentation

int getColumn ( )
inline

Returns the column of a particular NodePosition.

Returns
the integer value of the column

Definition at line 51 of file NodePosition.java.

int getRow ( )
inline

Returns the row of a particular NodePosition.

Returns
the integer value of the row

Definition at line 42 of file NodePosition.java.


The documentation for this class was generated from the following file: