Java Array Print printArray(float[] array)

Here you can find the source of printArray(float[] array)

Description

print Array

License

Open Source License

Declaration

public static final void printArray(float[] array) 

Method Source Code


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

import java.util.ArrayList;
import java.util.List;

public class Main {
    public static final void printArray(float[] array) {
        List<Float> output = new ArrayList<Float>();
        for (float item : array) {
            output.add(item);/*ww w.jav  a2  s. co  m*/
        }
        System.out.println(output);
    }
}

Related

  1. printArray(double[] a)
  2. printArray(double[] a)
  3. printArray(double[] array, String info)
  4. printArray(double[] d)
  5. printArray(E[] a)
  6. printArray(float[] spectrum)
  7. printArray(int A[])
  8. printArray(int arr[])
  9. printArray(int[] array)