/guava/android/guava/src/com/google/common/primitives/Doubles.java
int len = boxedArray;
int len = boxedArray.length;
} public static double[] toArray(Collection<? extends Number> collection) { if (collection instanceof DoubleArrayAsList) { return ((DoubleArrayAsList) collection).toDoubleArray(); } Object[] boxedArray = collection.toArray(); <extra_id_0> double[] array = new double[len]; for (int i = 0; i < len; i++) { array[i] = ((Number) checkNotNull(boxedArray[i])).doubleValue(); } return array; }