Files
kotlin-fork/compiler/testData/psi/examples/collections/IMutableIterator.kt
T
2013-09-17 18:10:00 +04:00

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
*/
}