public static < A extends Appendable > A join ( Iterable < ? > objects , String delimiter , A out ) throws IOException { boolean didOne = false ; for ( Object obj : objects ) { if ( didOne ) out . append ( delimiter ) ; else didOne = true ; out . append ( String . valueOf ( obj ) ) ; } return out ; }
Joins the string representation of objects on the provided delimiter .