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