|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectformulaVisited.LogicalConstant
public class LogicalConstant
A logical constant, representing true or false.
| Method Summary | |
|---|---|
java.lang.Object |
accept(Visitor _v)
Accepts a visitor. |
static LogicalConstant |
one()
Returns a logical constant for 1 (true). |
static LogicalConstant |
zero()
Returns a logical constant for 0 (false). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static LogicalConstant one()
public static LogicalConstant zero()
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 | |||||||||