public Object nextElement(){
  if (rootValue != null) {
    Object tem=rootValue;
    rootValue=null;
    return tem;
  }
  if (otherValue != null) {
    Object tem=otherValue;
    otherValue=null;
    return tem;
  }
  prep();
  if (subMapValues == null)   throw new NoSuchElementException();
  return subMapValues.nextElement();
}

public Object nextElement ( ) { if ( rootValue != null ) { Object tem = rootValue ; rootValue = null ; return tem ; } if ( otherValue != null ) { Object tem = otherValue ; otherValue = null ; return tem ; } prep ( ) ; if ( subMapValues == null ) throw new NoSuchElementException ( ) ; return subMapValues . nextElement ( ) ; }
get the next element ( mode in this case ) .
