question: public String info ( ) { StringBuilder sb = new StringBuilder ( "Report: size: " + tableSize + ", elements: " + elements + ", loadFactor: " + loadFactor + ", threshold: " + threshold ) ; sb . append ( ", empty bins:" + numEmpty ) ; int size = 0 ; int min = elements ; int max = - 1 ; for ( int i = 0 ; i < tableSize ; i ++ ) { LinkedList < String > list = bins [ i ] ; if ( list != null ) { int sz = list . size ( ) ; size += sz ; if ( sz < min ) { min = sz ; } if ( sz > max ) { max = sz ; } } } float avg = size ; int base = ( tableSize - numEmpty ) ; if ( base == 0 ) { sb . append ( ", average:0" ) ; sb . append ( ", minListSize:0" ) ; sb . append ( ", maxListSize:0" ) ; } else { avg /= base ; sb . append ( ", average:" + avg ) ; sb . append ( ", minListSize:" + min ) ; sb . append ( ", maxListSize:" + max ) ; } return sb . toString ( ) ; }
target:  Return single line of output. 