public static <T>String join(T[] array,String separator){
  return join(Arrays.asList(array),separator);
}

public static < T > String join ( T [ ] array , String separator ) { return join ( Arrays . asList ( array ) , separator ) ; }
creates a string of all elements of an array , separated by a separator .
