Package io.prestosql.util
Class DisjointSet<T>
- java.lang.Object
-
- io.prestosql.util.DisjointSet<T>
-
public class DisjointSet<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description DisjointSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
find(T element)
boolean
findAndUnion(T node1, T node2)
Collection<Set<T>>
getEquivalentClasses()
-