@Override
    public boolean hasNext() {
        return this.index < this.endIndex;
    }
Returns true if there are more elements to return from the array.

@return true if there is a next element to return
agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/util/queue/ObjectArrayIterator.java