(Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.
(Since version ) see corresponding Javadoc for more information.
An own class for filtering the elements that are returned by an iterator, because the method
Iterator.filteris so broken