@Override
      public boolean hasNext() {
        return pos < size;
      }
Adds elements to this type-specific list using optimized system calls.

@param index the index at which to add elements.
@param a the array containing the elements.
@param offset the offset of the first element to add.
@param length the number of elements to add.
geode-core/src/main/java/org/apache/geode/internal/cache/IdentityArrayList.java