docs: public int compareTo(Weighted<DirectedEdge> other) {
          return ComparisonChain.start()
                  .compare(other.weight, weight)
                  .compare(Objects.hashCode(other.val), Objects.hashCode(val))
                  .result();
      }