if ((language == null && loc.language != null) || (country == null && loc.country != null) || (variant == null && loc.variant != null)) return false;
  public boolean equals (Object obj)    {      if (! (obj instanceof Locale))	return false;      Locale loc = (Locale) obj;      if ((language == null && loc.language != null)	  || (country == null && loc.country != null)	  || (variant == null && loc.variant != null))	return false;      return (language.equals(loc.language)	      && country.equals(loc.country)	      && variant.equals(loc.variant));    }