public E previous() {
        if (!hasPrevious()) {
            throw new NoSuchElementException();
        }
        this.lastItemIndex = --this.index;
        return this.array[this.index];
    }
Gets the previous element from the array.

@return the previous element
@throws java.util.NoSuchElementException if there is no previous element
jphp-runtime/src/php/runtime/common/collections/iterators/ObjectArrayListIterator.java