KoneReversibleIterator
Represents an KoneIterator that can iterate over the elements in both directions, forward and backward.
Type Parameters
The type of elements returned by the iterator.
Inheritors
Functions
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.
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.