MCPcopy Create free account
hub / github.com/davidgiven/luje / hashCode

Method hashCode

lib/java/util/Locale.java:338–342  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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}.

Callers

nothing calls this directly

Calls 1

hashCodeMethod · 0.65

Tested by

no test coverage detected