private void copyValues(final Object[] arrayCopy) { final IntIterator iterator = iterator(); for (@DoNotSub int i = 0; iterator.hasNext(); i++) { arrayCopy[i] = iterator.next(); } }
/** {@inheritDoc} */ public IntIterator iterator() { iterator.reset(); return iterator; }