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