Returns an integer hash code for the receiver. Objects which are equal return the same value for this method. @return the receiver's hash. @see #equals
()
| 336 | * @see #equals |
| 337 | */ |
| 338 | @Override |
| 339 | public synchronized int hashCode() { |
| 340 | return countryCode.hashCode() + languageCode.hashCode() |
| 341 | + variantCode.hashCode(); |
| 342 | } |
| 343 | |
| 344 | /** |
| 345 | * Sets the default {@code Locale} to the specified {@code Locale}. |