code: public static String join(List<? extends EncodedPair> pairs, char pairSep, char nameValSep, boolean quoteName, boolean quoteVal){
          return join(pairs.iterator(), pairSep, nameValSep, quoteName,quoteVal);
      }
docs: Joins the given list of encoded pairs using nameValSep for name/value separator and pairSep for pair separator.
  @param pairs list of encoded pair to join
  @param pairSep character to use to join pairs
  @param nameValSep character to use to join name/value for each pair
  @param quoteName if true, will double quote the name while joining
  @param quoteVal if true, will double quote the value while joining
  @return joined pairs