protected void print ( List < ? extends DocTree > list , String sep ) throws IOException { if ( list . isEmpty ( ) ) return ; boolean first = true ; for ( DocTree t : list ) { if ( ! first ) print ( sep ) ; print ( t ) ; first = false ; } }
Print list . with separators