MCPcopy Create free account
hub / github.com/apache/commons-lang / hashCode

Method hashCode

src/main/java/org/apache/commons/lang3/CharSet.java:286–289  ·  view source on GitHub ↗

Gets a hash code compatible with the equals method. @return a suitable hash code. @since 2.0

()

Source from the content-addressed store, hash-verified

284 * @since 2.0
285 */
286 @Override
287 public int hashCode() {
288 return 89 + set.hashCode();
289 }
290
291 /**
292 * Gets a string representation of the set.

Callers 1

testHashCodeMethod · 0.95

Calls

no outgoing calls

Tested by 1

testHashCodeMethod · 0.76