public Hop removeHop(int i) {
        cache = null;
        return hops.remove(i);
    }
<p>Removes the hop at a given index.</p>

@param i The index of the hop to remove.
@return The hop removed.
messagebus/src/main/java/com/yahoo/messagebus/routing/Route.java