An iterator that keeps elements based on a predicate.

Constructor

new(it:Iterator<T>, pred:T ‑> Bool)

Methods

hasNext():Bool

next():T