public class BooleanVariable extends AbstractVariable<BooleanVariable>
| Constructor and Description |
|---|
BooleanVariable() |
BooleanVariable(boolean b) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyState(BooleanVariable other)
Set this variable to have the same state as another one
|
boolean |
equals(Object obj) |
boolean |
getValue() |
void |
or(BooleanVariable other) |
boolean |
sameValue(BooleanVariable other) |
void |
set(boolean b) |
String |
toString() |
getOrderNumber, hashCode, nextHash, setOrderNumbergetGraphNodeId, setGraphNodeIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetGraphNodeId, setGraphNodeIdpublic BooleanVariable()
public BooleanVariable(boolean b)
b - initial value for this variablepublic void copyState(BooleanVariable other)
IVariablepublic boolean sameValue(BooleanVariable other)
public boolean getValue()
public void or(BooleanVariable other)
IllegalArgumentException - if other is nullpublic void set(boolean b)
public boolean equals(Object obj)
equals in class AbstractVariable<BooleanVariable>