DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
public static <T> List<List<T>> groupElementsRoundRobin(List<T> elements, int numGroups)
Proposed Changes
We propose extending Extend ConnectorUtils with a round-robin assignment strategy to facilitate more balanced distribution of continuous elements across different groups. This strategy would evenly distribute elements among the available groups, ensuring a more equitable allocation and minimizing potential imbalances.
...
This proposal does not introduce any compatibility issues or deprecations. Existing functionality in ConnectorUtils will remain unchanged, and the round-robin assignment strategy will be introduced as an additional option.
Test Plan
Unit No other classes depend on this util. The change only adds a new static method and won't break existing method. So, unit tests are enough to cover all cases.
...