BaseListIterator

open class BaseListIterator<T>(val list: List<T>, var index: Int) : ListIterator<T>

Inheritors

Constructors

Link copied to clipboard
constructor(list: List<T>, index: Int)

Properties

Link copied to clipboard
var index: Int
Link copied to clipboard
val list: List<T>

Functions

Link copied to clipboard
open operator override fun hasNext(): Boolean
Link copied to clipboard
open override fun hasPrevious(): Boolean
Link copied to clipboard
open operator override fun next(): T
Link copied to clipboard
open override fun nextIndex(): Int
Link copied to clipboard
open override fun previous(): T
Link copied to clipboard
open override fun previousIndex(): Int
Link copied to clipboard
fun <T> Iterator<T>.toList(): List<T>