public class FastDisjointSet<T> extends java.lang.Object implements DisjointSet<T>
Constructor and Description |
---|
FastDisjointSet(java.util.Set<? extends T> objectSet) |
Modifier and Type | Method and Description |
---|---|
T |
find(T o) |
void |
union(T a,
T b) |