@Override
    public boolean equals(Object obj) {
        if (!(obj instanceof Route)) {
            return false;
        }
        Route rhs = (Route)obj;
        if (hops.size() != rhs.hops.size()) {
            return false;
        }
        for (int i = 0; i < hops.size(); ++i) {
            if (!hops.get(i).equals(rhs.hops.get(i))) {
                return false;
            }
        }
        return true;
    }
<p>Clears the list of hops that make up this route.</p>

@return This, to allow chaining.
messagebus/src/main/java/com/yahoo/messagebus/routing/Route.java