jobmatch.business.company.profile.tree
Class AbstractNode
java.lang.Object
|
+--jobmatch.business.company.profile.tree.AbstractNode
- Direct Known Subclasses:
- LeafSupport, MemoryNode
- abstract class AbstractNode
- extends Object
- implements TreeNode, Cloneable, Serializable
Common behaviour for Nodes
- Since:
- May 16 2000
- Version:
- $Revision: 1.3 $
- See Also:
- Serialized Form
AbstractNode
protected AbstractNode(MatchTree tree,
TreeNode parent)
getDescription
public String getDescription()
- Specified by:
- getDescription in interface TreeNode
getTree
public MatchTree getTree()
- Specified by:
- getTree in interface TreeNode
setTree
public void setTree(MatchTree tree)
- Specified by:
- setTree in interface TreeNode
getParent
public TreeNode getParent()
- Specified by:
- getParent in interface TreeNode
setParent
public void setParent(TreeNode parent)
- Specified by:
- setParent in interface TreeNode
and
public void and(TreeNode other)
- Specified by:
- and in interface TreeNode
or
public void or(TreeNode other)
- Specified by:
- or in interface TreeNode
not
public void not()
- Specified by:
- not in interface TreeNode
equals
public boolean equals(Object other)
- Overrides:
- equals in class Object
- See Also:
Object.equals
semanticEquality
protected static boolean semanticEquality(AbstractNode a,
AbstractNode b)
- Returns:
- true if a is considered the same as b
toString
public String toString()
- Overrides:
- toString in class Object
- See Also:
Object.toString
clone
public Object clone()
- Overrides:
- clone in class Object
- See Also:
Object.clone