public bool Next() { if (_scan2.Next()) { return(true); } _scan2.BeforeFirst(); return(_scan2.Next() && _scan1.Next()); }
public bool Next() { while (_scan.Next()) { if (_predicate.IsSatisfied(_scan)) { return(true); } } return(false); }
public void BeforeFirst() { _scan1.BeforeFirst(); _scan1.Next(); _scan2.BeforeFirst(); }
public bool Next() => _scan.Next();