public int getWidth() {
        int width = 0;

        for ( final Iterator<Row> rowIter = this.rows.iterator(); rowIter.hasNext(); ) {
            final Row row = rowIter.next();
            final int rowWidth = row.getWidth();

            if ( rowWidth > width ) {
                width = rowWidth;
            }
        }

        return width;
    }
public int getWidth() {
        int width = 0;

        for ( final Iterator<Row> rowIter = this.rows.iterator(); rowIter.hasNext(); ) {
            final Row row = rowIter.next();
            final int rowWidth = row.getWidth();

            if ( rowWidth > width ) {
                width = rowWidth;
            }
        }

        return width;
    }
public int getWidth ( ) { int width = 0 ; for ( final Iterator < Row > rowIter = this . rows . iterator ( ) ; rowIter . hasNext ( ) ; ) { final Row row = rowIter . next ( ) ; final int rowWidth = row . getWidth ( ) ; if ( rowWidth > width ) { width = rowWidth ; } } return width ; }
Finds the longest row width.

@return width of the longest row
Finds the longest row width .