MCPcopy Create free account
hub / github.com/LFYSec/MScan / equals

Method equals

src/main/java/pascal/taie/util/graph/AbstractEdge.java:54–64  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

52 }
53
54 @Override
55 public boolean equals(Object o) {
56 if (this == o) {
57 return true;
58 }
59 if (o == null || getClass() != o.getClass()) {
60 return false;
61 }
62 AbstractEdge<?> edge = (AbstractEdge<?>) o;
63 return source.equals(edge.source) && target.equals(edge.target);
64 }
65
66 @Override
67 public int hashCode() {

Callers

nothing calls this directly

Calls 1

getClassMethod · 0.65

Tested by

no test coverage detected