Files
kotlin-fork/compiler/testData/psi/examples/collections/IMutableIterator.jet
T
2011-10-20 16:21:18 +02:00

13 lines
258 B
Plaintext

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