Provide deprecated AbstractIterator in the old package kotlin.support.

This commit is contained in:
Ilya Gorbunov
2015-12-11 06:24:16 +03:00
parent 91b920f18e
commit 594d981094
@@ -0,0 +1,8 @@
package kotlin.support
/**
* A base class to simplify implementing iterators so that implementations only have to implement [computeNext]
* to implement the iterator, calling [done] when the iteration is complete.
*/
@Deprecated("Use AbstractIterator from kotlin.collections instead.", ReplaceWith("kotlin.collections.AbstractIterator<T>"))
public abstract class AbstractIterator<T> : kotlin.collections.AbstractIterator<T>()