title: Does Java's Set's implement the UnionFind algorithm?
body: <p>I know the Union Find algorithm from Wikipedia, and can find small implementations of them, but does Java itself use a similar algorithm for its Set's? If so I'd prefer to use Java Sets without recoding the wheel...</p>