public void descendingOrder(TreeNode rootnode)
{
if(rootnode !=null)
{
Processable info;
descendingOrder(rootnode.right);
info=(Processable)rootnode.data;
info.process();
descendingOrder(rootnode.left);
}
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment