MCPcopy Index your code
hub / github.com/chain/Core / hashCode

Method hashCode

sdk/java/src/main/java/com/chain/http/Client.java:539–546  ·  view source on GitHub ↗

Overrides Object#hashCode() @return the hash code

()

Source from the content-addressed store, hash-verified

537 * @return the hash code
538 */
539 @Override
540 public int hashCode() {
541 int code = this.urls.hashCode();
542 if (this.hasAccessToken()) {
543 code = code * 31 + this.accessToken.hashCode();
544 }
545 return code;
546 }
547
548 /**
549 * Overrides {@link Object#equals(Object)}

Callers

nothing calls this directly

Calls 1

hasAccessTokenMethod · 0.95

Tested by

no test coverage detected