Skip to content

Commit

Permalink
Mark team allocator groups as experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
haykam821 committed Dec 5, 2024
1 parent e20b9e4 commit 7cf7a3b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import it.unimi.dsi.fastutil.objects.Object2IntMap;
import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap;
import it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.Nullable;

import java.util.*;
Expand Down Expand Up @@ -70,6 +71,7 @@ public void add(V player, @Nullable T preference) {
*
* @param group the group to add to this allocator
*/
@ApiStatus.Experimental
public void group(Iterable<V> group) {
for (var player : group) {
if (!this.players.contains(player)) {
Expand Down

0 comments on commit 7cf7a3b

Please sign in to comment.