public HopDirective getDirective(int i) {
        return selector.get(i);
    }
Returns the directive at the given index.

@param i The index of the directive to return.
@return The item.
messagebus/src/main/java/com/yahoo/messagebus/routing/Hop.java