question: private void updateNames ( ) { for ( Cluster < ? > cluster : clustering . getAllClusters ( ) ) { if ( names . get ( cluster ) == null ) { String sugname = cluster . getNameAutomatic ( ) ; Integer count = namecount . get ( sugname ) ; if ( count == null ) { count = new Integer ( 0 ) ; } names . put ( cluster , sugname + " " + count . toString ( ) ) ; count ++ ; namecount . put ( sugname , count ) ; } } }
target:  Assign names to each cluster (which doesn't have a name yet)