Interface SortedMatrixMaker.SortedMatrix
-
- Enclosing interface:
- SortedMatrixMaker
public static interface SortedMatrixMaker.SortedMatrix
A matrix thingie
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SortedMatrixMaker.SortedMatrix.MatrixRow
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FindResult
findRow(int startRowIndex, SortedMatrixMaker.SortedMatrix.MatrixRow row)
SortedMatrixMaker.SortedMatrix.MatrixRow
getRow(int rowId)
int
numRows()
-
-
-
Method Detail
-
numRows
int numRows()
-
getRow
SortedMatrixMaker.SortedMatrix.MatrixRow getRow(int rowId)
-
findRow
FindResult findRow(int startRowIndex, SortedMatrixMaker.SortedMatrix.MatrixRow row)
- Parameters:
startRowIndex
- the rowIndex to start the search from. The return value should never be less than this valuerow
- the row to compare against- Returns:
- a FindResult null if exists beyond the bounds of the current Matrix
-
-