|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.reprap.utilities.BooleanExpression
class BooleanExpression
Field Summary | |
---|---|
private BooleanExpression |
c1
|
private BooleanExpression |
c2
|
private Variable |
leaf
|
private int |
leafCount
|
private Bop |
leafOp
|
private Variable[] |
variables
|
Constructor Summary | |
---|---|
BooleanExpression(BooleanExpression[] be,
int exp)
Make an expression from three or four atomic expressions in an array. |
|
BooleanExpression(BooleanExpression a,
BooleanExpression b,
Bop op)
Operand and two operators |
|
BooleanExpression(BooleanExpression a,
Bop op)
Monadic operator |
|
BooleanExpression(Variable v)
Variable leaf |
|
BooleanExpression(Variable[] v,
int exp)
Make an expression from three or four variables in an array. |
Method Summary | |
---|---|
int |
getIndex(Variable v)
|
Variable[] |
getVariables()
|
int |
leafCount()
|
private void |
makeFromSeveral(BooleanExpression[] be,
int exp)
Make an expression from three or four atomic expressions in an array. |
private void |
recordVariables()
|
void |
setAll(int i)
|
private java.lang.String |
toJava_r(java.lang.String r)
|
java.lang.String |
toJava()
|
boolean |
value()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private BooleanExpression c1
private BooleanExpression c2
private Bop leafOp
private Variable leaf
private Variable[] variables
private int leafCount
Constructor Detail |
---|
public BooleanExpression(BooleanExpression[] be, int exp)
variables
- exp
- public BooleanExpression(Variable[] v, int exp)
variables
- exp
- public BooleanExpression(BooleanExpression a, BooleanExpression b, Bop op)
a
- b
- op
- public BooleanExpression(BooleanExpression a, Bop op)
a
- op
- public BooleanExpression(Variable v)
Method Detail |
---|
private void makeFromSeveral(BooleanExpression[] be, int exp)
variables
- exp
- public int leafCount()
private void recordVariables()
public void setAll(int i)
public Variable[] getVariables()
public int getIndex(Variable v)
public boolean value()
v
-
private java.lang.String toJava_r(java.lang.String r)
public java.lang.String toJava()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |