KoneReversibleMutableIterator
Represents a KoneReversibleIterator that can add, set, and remove both the next and the previous elements.
Type Parameters
The type of elements returned by the iterator.
Inheritors
Functions
Adds element right before the iterator's pointer.
Converts this KoneIterator to a KoneSequence by wrapping it.
Gets the next element in this iterator, moves forward, and returns the got element.
Gets the previous element, moves backward, and returns the got element.
Returns next element in the order or throws NoFollowingElementInIteratorException if there is no next element.
Returns previous element in the order or throws NoFollowingElementInIteratorException if there is no previous element.
Returns true iff there is previous element in the order.
inline fun <E, R> KoneIterator<E>.maxIndexListBy(selector: (E) -> R): KoneUIntArray
inline fun <E, R> KoneIterator<E>.minIndexListBy(selector: (E) -> R): KoneUIntArray
Moves forward bypassing next element or throws NoFollowingElementInIteratorException if there is no next element.
Moves backward bypassing previous element or throws NoFollowingElementInIteratorException if there is no previous element.
Removes the next element if it's present or throws NoFollowingElementInIteratorException if there is no next element.
Removes the previous element if it's present or throws NoFollowingElementInIteratorException if there is no previous element.
Changes the next element if it is present or throws NoFollowingElementInIteratorException if there is no next element.
Changes the previous element if it is present or throws NoFollowingElementInIteratorException if there is no previous element.
Converts this iterator to a KoneList.
Converts this iterator to a KoneMutableList.
Converts this iterator to a KoneMutableNoddedList.
Converts this iterator to a KoneNoddedList.
Converts this iterator to a KoneSettableList.
Converts this iterator to a KoneSettableNoddedList.