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

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

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

Returns:
the next element in the list.
Exceptions:
NoSuchElementException if the iteration has no next element.

Definition at line 548 of file LinkedListModel.java.

References delegate, lastReturnedIndex, and nextIndex().

                             {
            lastReturnedIndex = nextIndex();
            return delegate.next();
        }


Generated by  Doxygen 1.6.0   Back to index