|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectformulaVisited.Named
formulaVisited.LogicalVariable
public class LogicalVariable
A logical variable, representing true or false (but we may not know which).
| Constructor Summary | |
|---|---|
LogicalVariable(java.lang.String _name)
Constructs a logical variable. |
|
| Method Summary | |
|---|---|
java.lang.Object |
accept(Visitor _v)
Accepts a visitor. |
| Methods inherited from class formulaVisited.Named |
|---|
compareTo, equals |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogicalVariable(java.lang.String _name)
_name - The variables's name.| Method Detail |
|---|
public java.lang.Object accept(Visitor _v)
Formula{ return _v.visit(this); },
and the compiler identifies the right Visitor method
based on the subclass (which is the type of this).
accept in interface Formula_v - The visitor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||