jobmatch.business.company.profile.tree.test
Class BooleanNode
java.lang.Object
|
+--jobmatch.business.company.profile.tree.AbstractNode
|
+--jobmatch.business.company.profile.tree.MemoryNode
|
+--jobmatch.business.company.profile.tree.test.BooleanNode
- public class BooleanNode
- extends MemoryNode
This node gives a constants answer for match(candidate)
- Since:
- May 16 2000
- Version:
- $Revision: 1.2 $
- See Also:
- Serialized Form
BooleanNode
public BooleanNode(MatchTree tree,
TreeNode parent,
boolean value)
getParent
public TreeNode getParent()
- Overrides:
- getParent in class AbstractNode
setParent
public void setParent(TreeNode parent)
- Overrides:
- setParent in class AbstractNode
getTree
public MatchTree getTree()
- Overrides:
- getTree in class AbstractNode
setTree
public void setTree(MatchTree tree)
- Overrides:
- setTree in class AbstractNode
getLeafNo
public int getLeafNo()
- Overrides:
- getLeafNo in class MemoryNode
setLeafNo
public void setLeafNo(int number)
- Overrides:
- setLeafNo in class MemoryNode
and
public void and(TreeNode other)
- Overrides:
- and in class AbstractNode
or
public void or(TreeNode other)
- Overrides:
- or in class AbstractNode
not
public void not()
- Overrides:
- not in class AbstractNode
numChildren
public int numChildren()
getDescription
public String getDescription()
- Overrides:
- getDescription in class AbstractNode
match
public boolean match(Candidate candidate)