public static String join(NamedValue[] values,String separator){
  StringBuilder buff=new StringBuilder();
  for (int i=0; i < values.length; i++) {
    buff.append(values[i]);
    if (i < values.length - 1)     buff.append(separator);
  }
  return buff.toString();
}

public static String join ( NamedValue [ ] values , String separator ) { StringBuilder buff = new StringBuilder ( ) ; for ( int i = 0 ; i < values . length ; i ++ ) { buff . append ( values [ i ] ) ; if ( i < values . length - 1 ) buff . append ( separator ) ; } return buff . toString ( ) ; }
joins multiple namedvalues into a single string
