Files
kotlin-fork/idea/testData/psi/examples/collections/IMutableIterator.jet
T
2011-01-02 21:26:50 +03:00

13 lines
261 B
Plaintext

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