|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--ls.CPT
This class represents an individual cpt for a node. It stores the names of the items is the blocks so that they will be easy to use and manipulate when looking for particular cpt values.
| Constructor Summary | |
CPT()
Creates an empty CPT value. |
|
| Method Summary | |
void |
addGiven(Node cb)
Adds a given value to the cpt. |
Node |
getFor()
Returns the for part of the cpt. |
Node |
getGiven(int loc)
This returns a particular given value in the cpt. |
int |
numGiven()
Returns the number of times that this cpt is depends upon. |
void |
setFor(Node ffor)
Sets the for part of the CPT |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CPT()
| Method Detail |
public void setFor(Node ffor)
ffor - the for value in the cpt, the part to left of |public void addGiven(Node cb)
cb - the given value in the cptpublic Node getFor()
public Node getGiven(int loc)
loc - the location of the given node that is to be returnedpublic int numGiven()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||