/** * Gets the next element from the array. * * @return the next element * @throws NoSuchElementException if there is no next element */ public Object next() { if (hasNext() == false) { throw new NoSuchElementException(); } this.lastItemIndex = this.index; return Array.get(this.array, this.index++); }
/** * Gets the next element from the array. * * @return the next element * @throws NoSuchElementException if there is no next element */ public Object next() { if (hasNext() == false) { throw new NoSuchElementException(); } this.lastItemIndex = this.index; return Array.get(this.array, this.index++); }
/** * Gets the next element from the array. * * @return the next element * @throws NoSuchElementException if there is no next element */ public Object next() { if (hasNext() == false) { throw new NoSuchElementException(); } this.lastItemIndex = this.index; return Array.get(this.array, this.index++); }
/** * Gets the next element from the array. * * @return the next element * @throws NoSuchElementException if there is no next element */ public Object next() { if (hasNext() == false) { throw new NoSuchElementException(); } this.lastItemIndex = this.index; return Array.get(this.array, this.index++); }
/** * Gets the next element from the array. * * @return the next element * @throws NoSuchElementException if there is no next element */ public Object next() { if (hasNext() == false) { throw new NoSuchElementException(); } this.lastItemIndex = this.index; return Array.get(this.array, this.index++); }
/** * Gets the next element from the array. * * @return the next element * @throws NoSuchElementException if there is no next element */ public Object next() { if (hasNext() == false) { throw new NoSuchElementException(); } this.lastItemIndex = this.index; return Array.get(this.array, this.index++); }
/** * Gets the next element from the array. * * @return the next element * @throws NoSuchElementException if there is no next element */ public Object next() { if (hasNext() == false) { throw new NoSuchElementException(); } this.lastItemIndex = this.index; return Array.get(this.array, this.index++); }