MCPcopy Create free account
hub / github.com/grpc/grpc-java / equals

Method equals

core/src/main/java/io/grpc/internal/RetryPolicy.java:71–83  ·  view source on GitHub ↗
(Object other)

Source from the content-addressed store, hash-verified

69 }
70
71 @Override
72 public boolean equals(Object other) {
73 if (!(other instanceof RetryPolicy)) {
74 return false;
75 }
76 RetryPolicy that = (RetryPolicy) other;
77 return this.maxAttempts == that.maxAttempts
78 && this.initialBackoffNanos == that.initialBackoffNanos
79 && this.maxBackoffNanos == that.maxBackoffNanos
80 && Double.compare(this.backoffMultiplier, that.backoffMultiplier) == 0
81 && Objects.equal(this.perAttemptRecvTimeoutNanos, that.perAttemptRecvTimeoutNanos)
82 && Objects.equal(this.retryableStatusCodes, that.retryableStatusCodes);
83 }
84
85 @Override
86 public String toString() {

Callers 10

validatePathSegmentMethod · 0.45
extractSpiffeIdMethod · 0.45
checkJwkEntryMethod · 0.45
cancelledMethod · 0.45
shutdownRemainingMethod · 0.45
seekToMethod · 0.45
newNameResolverMethod · 0.45
streamCreatedMethod · 0.45

Calls 2

compareMethod · 0.45
equalMethod · 0.45

Tested by

no test coverage detected