org.stringtree.util.tree
Class EmptyTree

java.lang.Object
  extended by org.stringtree.util.tree.EmptyTree
All Implemented Interfaces:
Tree
Direct Known Subclasses:
SimpleTree

public class EmptyTree
extends java.lang.Object
implements Tree


Constructor Summary
EmptyTree()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.util.Collection getChildren()
           
 Tree getParent()
           
 java.lang.Object getValue()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyTree

public EmptyTree()
Method Detail

getParent

public Tree getParent()
Specified by:
getParent in interface Tree

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface Tree

getChildren

public java.util.Collection getChildren()
Specified by:
getChildren in interface Tree

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object