tip.cfg
Class UnionFind

java.lang.Object
  extended by tip.cfg.UnionFind

public class UnionFind
extends Object


Constructor Summary
UnionFind()
           
 
Method Summary
 Collection<UnionFind> getCollection()
           
 UnionFind getParent()
           
 UnionFind getRoot()
           
 boolean isRoot()
           
 String toString()
           
 UnionFind union(UnionFind e)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnionFind

public UnionFind()
Method Detail

getParent

public UnionFind getParent()

getRoot

public UnionFind getRoot()

union

public UnionFind union(UnionFind e)

isRoot

public boolean isRoot()

getCollection

public Collection<UnionFind> getCollection()

toString

public String toString()
Overrides:
toString in class Object