drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/RowList.java
public int getRow(final BaseVertex vertex) {
        final int numRows = this.rows.size();

        for ( int i = 0; i < numRows; ++i ) {
            if ( ((Row) this.rows.get( i )).contains( vertex ) ) {
                return i;
            }
        }

        return -1;
    }
public int getRow(final BaseVertex vertex) {
        final int numRows = this.rows.size();

        for ( int i = 0; i < numRows; ++i ) {
            if ( ((Row) this.rows.get( i )).contains( vertex ) ) {
                return i;
            }
        }

        return -1;
    }
public int getRow ( final BaseVertex vertex ) { final int numRows = this . rows . size ( ) ; for ( int i = 0 ; i < numRows ; ++ i ) { if ( ( ( Row ) this . rows . get ( i ) ) . contains ( vertex ) ) { return i ; } } return - 1 ; }
Finds specified vertex from the rows.

@param vertex vertex

@return row number where vertex was found (0..n-1). <code>-1</code> if not found.
Finds specified vertex from the rows .