question: public List < T > asFlatList ( ) { List < T > list = new ArrayList < T > ( ) ; for ( int i = 0 ; i < getRowCount ( ) ; i ++ ) { for ( int j = 0 ; j < getColumnCount ( ) ; j ++ ) { list . add ( getLogicalValueAt ( i , j ) ) ; } } return list ; }
target:  Returns the contents of the table as a flat list.