public class EqualNode extends AbstractBinaryOperationNode
| Constructor and Description |
|---|
EqualNode(AbstractNode operand1,
AbstractNode operand2)
EqualNode.
|
| Modifier and Type | Method and Description |
|---|---|
private boolean |
checkOpsAllowed(AbstractReturnValue op1,
AbstractReturnValue op2)
Ueberprueft ob die Operanten erlaubte Typen besitzen.
|
boolean |
equals(java.lang.Object obj)
Equals-Funktion, die prueft, ob das Objekt obj vom Typ AbstractBinaryOperationNode ist, und
ob von dem Objekt obj Operant 1 mit dem Operant 1 dieser Klasse uebereinstimmt sowie das
Gleiche fuer Operant 2.
|
int |
hashCode() |
BooleanValue |
interpret(CommunicationManager mgr)
Wertet die beiden Operanten separat aus.
|
java.lang.String |
toString() |
getOperand1, getOperand2isIDNode, isIdSetArrayNode, isIDSetNode, toIDNode, toIdSetArrayNode, toIDSetNodepublic EqualNode(AbstractNode operand1, AbstractNode operand2)
operand1 - AbstractNodeoperand2 - AbstractNodepublic java.lang.String toString()
toString in class AbstractBinaryOperationNodepublic boolean equals(java.lang.Object obj)
AbstractBinaryOperationNodeequals in class AbstractBinaryOperationNodepublic int hashCode()
hashCode in class AbstractBinaryOperationNodepublic BooleanValue interpret(CommunicationManager mgr) throws CheckScriptException
interpret in class AbstractNodemgr - The CommunicationManager to use.CheckScriptException - PruefscriptExceptionprivate boolean checkOpsAllowed(AbstractReturnValue op1, AbstractReturnValue op2)
op1 - Der erste Operant.op2 - Der zweite Operant.