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

    return iterator;
  }