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

Method equals

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

Overrides Object#equals(Object) @param o the object to compare @return a boolean specifying equality

(Object o)

Source from the content-addressed store, hash-verified

551 * @return a boolean specifying equality
552 */
553 @Override
554 public boolean equals(Object o) {
555 if (o == null) return false;
556 if (!(o instanceof Client)) return false;
557
558 Client other = (Client) o;
559 if (!this.urls.equals(other.urls)) {
560 return false;
561 }
562 return Objects.equals(this.accessToken, other.accessToken);
563 }
564
565 /**
566 * A builder class for creating client objects

Callers 15

mainMethod · 0.95
mainMethod · 0.95
testReceiverCreateMethod · 0.80
testSubmitTransactionMethod · 0.80
setupMethod · 0.80
testSubmitUnbalancedMethod · 0.80
accessTokensMethod · 0.80
authorizationGrantsMethod · 0.80

Calls

no outgoing calls

Tested by 10

testReceiverCreateMethod · 0.64
testSubmitTransactionMethod · 0.64
setupMethod · 0.64
testSubmitUnbalancedMethod · 0.64
accessTokensMethod · 0.64
authorizationGrantsMethod · 0.64