don't deprecate AbstractIterator for now
This commit is contained in:
@@ -16,7 +16,7 @@ private enum class State {
|
|||||||
* A base class to simplify implementing iterators so that implementations only have to implement [computeNext]
|
* 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.
|
* to implement the iterator, calling [done] when the iteration is complete.
|
||||||
*/
|
*/
|
||||||
deprecated public abstract class AbstractIterator<T>: Iterator<T> {
|
public abstract class AbstractIterator<T>: Iterator<T> {
|
||||||
private var state = State.NotReady
|
private var state = State.NotReady
|
||||||
private var nextValue: T? = null
|
private var nextValue: T? = null
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user