@Override
    public E next() {
        if (!hasNext()) {
            throw new NoSuchElementException();
        }
        return this.array[this.index++];
    }
Returns the next element in the array.

@return the next element in the array
@throws NoSuchElementException if all the elements in the array
   have already been returned
agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/util/queue/ObjectArrayIterator.java