|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjchrest.architecture.Link
public class Link
Represents a test link within the model's long-term memory. The link has a test, which must be passed when sorting a pattern through to the child node.
Constructor Summary | |
---|---|
Link(ListPattern test,
Node child)
Constructor sets the link's test and child node. |
Method Summary | |
---|---|
Node |
getChildNode()
Accessor to the link's child node. |
ListPattern |
getTest()
Accessor to the link's test. |
boolean |
passes(ListPattern pattern)
Test if the given pattern can be sorted through this test link. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Link(ListPattern test, Node child)
Method Detail |
---|
public Node getChildNode()
public ListPattern getTest()
public boolean passes(ListPattern pattern)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |