private boolean allContentsUnchanged(){
  Map<FormIndex,IAnswerData> answers=getAnswers();
  for (  Map.Entry<FormIndex,IAnswerData> entry : answers.entrySet()) {
    if (!mOriginalAnswerData.containsKey(entry.getKey())) {
      return false;
    }
    String newText=getDisplayText(entry.getValue());
    String oldText=getDisplayText(mOriginalAnswerData.get(entry.getKey()));
    if (!equalOrBothNull(newText,oldText)) {
      return false;
    }
  }
  return true;
}

private boolean allContentsUnchanged ( ) { Map < FormIndex , IAnswerData > answers = getAnswers ( ) ; for ( Map . Entry < FormIndex , IAnswerData > entry : answers . entrySet ( ) ) { if ( ! mOriginalAnswerData . containsKey ( entry . getKey ( ) ) ) { return false ; } String newText = getDisplayText ( entry . getValue ( ) ) ; String oldText = getDisplayText ( mOriginalAnswerData . get ( entry . getKey ( ) ) ) ; if ( ! equalOrBothNull ( newText , oldText ) ) { return false ; } } return true ; }
returns true iff no values in the form have changed from the pre - populated defaults . this will return true even if a value has been given and subsequently cleared .
