Java examples for java.lang:double Array
double array to Int Array
//package com.java2s; public class Main { static public int[] toIntArray(double[] array) { int[] r = new int[array.length]; for (int i = 0; i < r.length; i++) { r[i] = (int) array[i]; }/*from w w w . j ava2s .co m*/ return r; } }