@SuppressWarnings("unchecked")
        @Nullable
        T select(int currentSequence) {
            final Weighted selected = select0(currentSequence);
            if (selected instanceof WeightedObject<?>) {
                return ((WeightedObject<T>) selected).get();
            } else {
                return (T) selected;
            }
        }
A weighted round robin select strategy.

<p>For example, with node a, b and c:
<ul>
  <li>if endpoint weights are 1,1,1 (or 2,2,2), then select result is abc abc ...</li>
  <li>if endpoint weights are 1,2,3 (or 2,4,6), then select result is abcbcc(or abcabcbcbccc) ...</li>
  <li>if endpoint weights are 3,5,7, then select result is abcabcabcbcbccc abcabcabcbcbccc ...</li>
</ul>
core/src/main/java/com/linecorp/armeria/common/loadbalancer/WeightedRoundRobinLoadBalancer.java