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

Method equals

api/src/context/java/io/grpc/Deadline.java:238–251  ·  view source on GitHub ↗
(final Object object)

Source from the content-addressed store, hash-verified

236 }
237
238 @Override
239 public boolean equals(final Object object) {
240 if (object == this) {
241 return true;
242 }
243 if (!(object instanceof Deadline)) {
244 return false;
245 }
246 final Deadline that = (Deadline) object;
247 if (this.ticker == null ? that.ticker != null : this.ticker != that.ticker) {
248 return false;
249 }
250 return this.deadlineNanos == that.deadlineNanos;
251 }
252
253 /**
254 * Time source representing nanoseconds since fixed but arbitrary point in time.

Callers 1

startInternalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected