tweak for older version of fastutil

This commit is contained in:
Leijurv
2023-03-20 23:58:25 -07:00
parent b8d4c72a92
commit bce0d47f95

View File

@@ -4,8 +4,6 @@ import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap;
import it.unimi.dsi.fastutil.longs.LongSet;
import it.unimi.dsi.fastutil.longs.LongSets;
import java.util.*;
/**
* Implements an undirected graph with dynamic connectivity. It supports adding and removing edges and determining
* whether two vertices are connected - whether there is a path between them. Adding and removing edges take O(log^2 N)
@@ -924,7 +922,7 @@ public class ConnGraph {
if (info != null) {
return info.edges.keySet();
} else {
return LongSets.emptySet();
return LongSets.EMPTY_SET;
}
}