Java Array Append appendArray(StringBuilder sb, int[] arr)

Here you can find the source of appendArray(StringBuilder sb, int[] arr)

Description

append Array

License

Open Source License

Declaration

public static StringBuilder appendArray(StringBuilder sb, int[] arr) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static StringBuilder appendArray(StringBuilder sb, int[] arr) {
        for (int i : arr) {
            sb.append(i);/*from  w ww. j a  v a 2  s . c  o m*/
            sb.append(System.getProperty("line.separator"));
        }
        return sb;
    }
}

Related

  1. appendArray(int[][] array, int[] staple)
  2. appendArray(Object[] arr, Object obj)
  3. appendArray(Object[] array1, Object[] array2)
  4. appendArray(String[] A, String... B)
  5. appendArray(StringBuilder bld, Object[] array, String sep)
  6. appendArray(StringBuilder sb, T[] array, String delimiter)
  7. appendArrays(byte[] in1, byte[] in2)
  8. appendArrays(final byte[] firstArray, final byte[] secondArray)
  9. ARRAY_AddValueToArray(int new_value, int[] array)