setPrevious

abstract fun setPrevious(element: Element)(source)

Changes the previous element if it is present or throws NoFollowingElementInIteratorException if there is no previous element.

Parameters

element

The element to set as the new previous element.

Throws

when there is no previous element.