docs: private static <K> int objectUnwrap(final Iterator<? extends K> i, final K array[]) {
          int j = array.length, offset = 0;
          while (j-- != 0 && i.hasNext())
              array[offset++] = i.next();
          return array.length - j - 1;
      }