protected internal override bool FetchNext() { while (Source.hasNext()) { int testItem = Source.next(); if (Test(testItem)) { return(Next(testItem)); } } return(false); }
protected internal override bool FetchNext() { if (CurrentIteratorConflict == null || !CurrentIteratorConflict.hasNext()) { while (Iterators.MoveNext()) { CurrentIteratorConflict = Iterators.Current; if (CurrentIteratorConflict.hasNext()) { break; } } } return((CurrentIteratorConflict != null && CurrentIteratorConflict.hasNext()) && Next(CurrentIteratorConflict.next())); }
public override int Next() { return(Delegate.next()); }