private static void appendRange ( StringBuilder sb , DoubleTuple tuple , Locale locale , String format , int min , int max ) { for ( int i = min ; i < max ; i ++ ) { if ( i > min ) { sb . append ( ", " ) ; } if ( locale != null && format != null ) { sb . append ( String . format ( locale , format , tuple . get ( i ) ) ) ; } else { sb . append ( String . valueOf ( tuple . get ( i ) ) ) ; } } }
Append the string representation of the specified range of the given tuple to the given string builder