Java Array Print printArray(double[] array, String info)

Here you can find the source of printArray(double[] array, String info)

Description

print Array

License

Open Source License

Declaration

public static void printArray(double[] array, String info) 

Method Source Code

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

public class Main {
    public static void printArray(double[] array, String info) {
        System.out.println(info);
        String outStr = "";
        for (int i = 0; i < array.length; i++)
            outStr += array[i] + "\t";
        System.out.println(outStr);
    }/*w  w w.j a v  a  2  s.  c o m*/

    public void printArray(double[] oneArray) {
        for (int i = 0; i < oneArray.length; i++)
            System.out.print(oneArray[i] + "\t");
        System.out.println();
    }
}

Related

  1. printArray(boolean[] array)
  2. printArray(double[] _a)
  3. printArray(double[] _a)
  4. printArray(double[] a)
  5. printArray(double[] a)
  6. printArray(double[] d)
  7. printArray(E[] a)
  8. printArray(float[] array)
  9. printArray(float[] spectrum)