Example #1
0
 protected internal override bool FetchNext()
 {
     if (_hasFirstValue)
     {
         _hasFirstValue = false;
         return(Next(_firstValue));
     }
     return(_actual.hasNext() && Next(_actual.next()));
 }
Example #2
0
 protected internal override bool FetchNext()
 {
     while (Source.hasNext())
     {
         long testItem = Source.next();
         if (Test(testItem))
         {
             return(Next(testItem));
         }
     }
     return(false);
 }
Example #3
0
 public override bool HasNext()
 {
     return(Delegate.hasNext());
 }
Example #4
0
 public bool hasNext()
 {
     return(iterator.hasNext());
 }