@Override
  public int hashCode() {
    final int prime = 31;
    int result = 1;
    result = prime * result + ((depender == null) ? 0 : depender.hashCode());
    result = prime * result + ((dependsOn == null) ? 0 : dependsOn.hashCode());
    return result;
  }
Holds a dependency between one object and another. This class is used as an edge in the @link
{@link DependencyGraph}.

An example of a dependency is a Thread that is blocking on a lock, or a lock that is held by a
thread.
geode-core/src/main/java/org/apache/geode/distributed/internal/deadlock/Dependency.java