13 lines
258 B
Kotlin
Vendored
13 lines
258 B
Kotlin
Vendored
open class IMutableIterator<out T> : IIterator<T> {
|
|
fun remove() : T
|
|
|
|
/*
|
|
Considerations:
|
|
pro: why not + non iteration breaking
|
|
con: counter-intuitive for, e.g., TreeSet
|
|
|
|
|
|
fun addBefore(item : T) : Boolean
|
|
fun addAfter(item : T) : Boolean
|
|
*/
|
|
} |