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