(Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.
(Since version 2.3.2) use ++
(Since version 2.8.0) use zipWithIndex in Iterator
(Since version 2.8.0) use indexWhere instead
(Since version 2.8.0) use copyToArray instead
(Since version 2.8.0) use copyToArray instead
(Since version 2.8.0) use copyToArray instead
An iterator that wraps around an existing iterator to provide task killing functionality. It works by checking the interrupted flag in TaskContext.