public interface RowCollector
| Modifier and Type | Method and Description |
|---|---|
boolean |
addRowIfValid(int[] row)
This method returns
true if specified row is valid and added to the collection,
or false otherwise. |
java.util.List<int[]> |
getRows()
Returns all the collected rows.
|
boolean |
isValidRow(int[] row)
If this method returns
true for a specific row - then immediate call
of the addRowIfValid(int[]) for the same row should also return true
(if no other rows were added inbetween method calls). |
boolean isValidRow(int[] row)
true for a specific row - then immediate call
of the addRowIfValid(int[]) for the same row should also return true
(if no other rows were added inbetween method calls).boolean addRowIfValid(int[] row)
This method returns true if specified row is valid and added to the collection,
or false otherwise.
If isValidRow(int[]) returns true for a specific row, then immediate call to this
method should also be successful for the same row (if no other rows were added inbetween method calls).
java.util.List<int[]> getRows()
addRowIfValid(int[]) returned true should be
present in the result collection.