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