org.knime.core.node.tableview
Class FindPositionAll

java.lang.Object
  extended by org.knime.core.node.tableview.FindPositionRowKey
      extended by org.knime.core.node.tableview.FindPositionAll

 class FindPositionAll
extends FindPositionRowKey

Postion information when searching occurrences in the entire table.

Author:
Bernd Wiswedel, University of Konstanz

Constructor Summary
FindPositionAll(int rowCount, int columnCount)
          Create new postion object.
 
Method Summary
(package private)  int getSearchColumn()
          
(package private)  boolean isIDOnly()
          If to look for IDs only.
(package private)  void mark()
          Set a mark (memorize last search hit location).
(package private)  boolean next()
          Pushes the search position to its next location.
(package private)  boolean reachedMark()
          
(package private)  void reset()
          Reset position to row 0.
 
Methods inherited from class org.knime.core.node.tableview.FindPositionRowKey
getSearchRow, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FindPositionAll

FindPositionAll(int rowCount,
                int columnCount)
Create new postion object.

Parameters:
rowCount - The total number of rows in the table
columnCount - The total number of columns in the table.
Method Detail

getSearchColumn

int getSearchColumn()

Overrides:
getSearchColumn in class FindPositionRowKey
Returns:
Current location column (in this class -1).

next

boolean next()
Pushes the search position to its next location.

Overrides:
next in class FindPositionRowKey
Returns:
true if it advanced to the next position, false if it starts from top.

reset

void reset()
Reset position to row 0.

Overrides:
reset in class FindPositionRowKey

isIDOnly

boolean isIDOnly()
If to look for IDs only.

Overrides:
isIDOnly in class FindPositionRowKey
Returns:
true

mark

void mark()
Set a mark (memorize last search hit location).

Overrides:
mark in class FindPositionRowKey

reachedMark

boolean reachedMark()

Overrides:
reachedMark in class FindPositionRowKey
Returns:
true if we reached the mark (again).


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.