Helper method dropping events from the buffered iterator while the given predicate holds.
Helper method dropping events from the buffered iterator while the given predicate holds. The same buffered iterator can still be used after calling this function.
Helper method dropping events from the buffered iterator while the given predicate does not hold.
Helper method dropping events from the buffered iterator while the given predicate does not hold. The same buffered iterator can still be used after calling this function.
Returns the optional AncestryPath resulting from the given next event.