MCPcopy Index your code
hub / github.com/grpc/grpc-java / compareTo

Method compareTo

api/src/context/java/io/grpc/Deadline.java:227–231  ·  view source on GitHub ↗

{@inheritDoc} Both deadlines must be created with the same Ticker.

(Deadline that)

Source from the content-addressed store, hash-verified

225 * <p>Both deadlines must be created with the same {@link Ticker}.
226 */
227 @Override
228 public int compareTo(Deadline that) {
229 checkTicker(that);
230 return Long.compare(this.deadlineNanos, that.deadlineNanos);
231 }
232
233 @Override
234 public int hashCode() {

Callers 5

applyMethodConfigMethod · 0.95
withDeadlineMethod · 0.95
tickersDontMatchMethod · 0.95
compareMethod · 0.45
sortByNameMethod · 0.45

Calls 2

checkTickerMethod · 0.95
compareMethod · 0.45

Tested by 2

tickersDontMatchMethod · 0.76
sortByNameMethod · 0.36