Logo Search packages:      
Sourcecode: libjgoodies-binding-java version File versions

Object com::jgoodies::binding::list::LinkedListModel::ReportingListIterator::previous (  )  [inline]

Returns the previous element in the list. This method may be called repeatedly to iterate through the list backwards, or intermixed with calls to next to go back and forth. (Note that alternating calls to next and previous will return the same element repeatedly.)

the previous element in the list.
NoSuchElementException if the iteration has no previous element.

Definition at line 578 of file LinkedListModel.java.

References delegate, lastReturnedIndex, and previousIndex().

            lastReturnedIndex = previousIndex();
            return delegate.previous();

Generated by  Doxygen 1.6.0   Back to index