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

    return iterator;
  }