示例#1
0
 public System.Collections.IEnumerator GetEnumerator()
 {
     while (hasNext())
     {
         string value = WmrReducerImpl.nextValue;
         WmrReducerImpl.advance();
         yield return(value);
     }
 }
示例#2
0
 public bool hasNext()
 {
     return(!WmrReducerImpl.endInput() && (WmrReducerImpl.nextKey.Equals(myKey)));
 }