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