@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        RoutingTable that = (RoutingTable) o;
        return generation == that.generation && table.equals(that.table);
    }
Returns a copy of this containing only endpoints using given routing method
routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/RoutingTable.java