code: public boolean areEquals(String str1, String str2) {
  
  		return (str1 == null && str2 == null || str1 != null && str2 != null && str1.equals(str2));
  	}
docs: Returns true if the 2 string are equals.
  
  @param str1
  the first string
  @param str2
  the 2nd string
  @return true if the 2 string are equals.