setNext
Changes the next element if it is present or throws NoFollowingElementInIteratorException if there is no next element.
Throws
when there is no next element.
Changes the next element if it is present or throws NoFollowingElementInIteratorException if there is no next element.
when there is no next element.