public boolean hasMoreElements(){
  prep();
  return rootValue != null || otherValue != null || (subMapValues != null && subMapValues.hasMoreElements());
}

public boolean hasMoreElements ( ) { prep ( ) ; return rootValue != null || otherValue != null || ( subMapValues != null && subMapValues . hasMoreElements ( ) ) ; }
true if we have more elements .
