question: public String join ( String separator ) { StringBuilder sb = new StringBuilder ( ) ; boolean isFirst = true ; for ( Object e : this ) { if ( isFirst ) isFirst = false ; else sb . append ( separator ) ; sb . append ( e ) ; } return sb . toString ( ) ; }
target:  put all elements into a string, the string is separated by the given separator