Class Java

    • Method Detail

      • join

        public static String join​(Object[] a,
                                  String separator)
        Returns:
        null iff a == null, or "" iff a.length == 0, or the elements of a, converted to strings concatenated and separated with the separator
      • join

        public static String join​(Object[][] aa,
                                  String innerSeparator,
                                  String outerSeparator)
        Returns:
        null iff aa == null, or "" iff aa.length == 0, or the elements of aa, converted to strings concatenated and separated with the outerSeparator
      • join

        public static String join​(Object[] a,
                                  String separator,
                                  int off,
                                  int len)
        Returns:
        "" iff off >= len, or elements off ... len-1 of a, converted to strings, concatenated and separated with the separator