com.voytechs.jnetstream.npl
Class LogicalEqualOpNode

java.lang.Object
  extended by com.voytechs.jnetstream.npl.Node
      extended by com.voytechs.jnetstream.npl.OpNode
          extended by com.voytechs.jnetstream.npl.LogicalEqualOpNode
All Implemented Interfaces:
BooleanNode, IntNode, LongNode, StringNode, Visitable

public class LogicalEqualOpNode
extends OpNode
implements IntNode, LongNode, BooleanNode, StringNode


Field Summary
 
Fields inherited from class com.voytechs.jnetstream.npl.OpNode
BINARY, cardinality, FLAG_NO_OP, flags, HIGH, left, LOW, MEDIUM, NORMAL, op, presedence, right, UNARY
 
Fields inherited from class com.voytechs.jnetstream.npl.Node
parent, token
 
Constructor Summary
LogicalEqualOpNode()
           
LogicalEqualOpNode(LongNode right, LongNode left)
           
 
Method Summary
 OpNode createOpNode(Node left, Node right)
          Creates a new instace of this node type.
 boolean getBoolean()
           
 int getInt()
           
 long getLong()
           
 java.lang.String getString()
           
static void main(java.lang.String[] args)
          Test function for LogicalEqualOpNode
 
Methods inherited from class com.voytechs.jnetstream.npl.OpNode
canOptimize, clone, createOpNode, createOpNode, equals, getCardinality, getFlags, getLeft, getOpString, getPresedence, getRight, optimize, set, setFlag, setLeft, setRight, toString, visit
 
Methods inherited from class com.voytechs.jnetstream.npl.Node
getParent, getToken, setParent, setToken
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogicalEqualOpNode

public LogicalEqualOpNode(LongNode right,
                          LongNode left)
Parameters:
-
Throws:

LogicalEqualOpNode

public LogicalEqualOpNode()
Method Detail

getString

public java.lang.String getString()
Specified by:
getString in interface StringNode

getInt

public int getInt()
Specified by:
getInt in interface IntNode

getLong

public long getLong()
Specified by:
getLong in interface LongNode

getBoolean

public boolean getBoolean()
Specified by:
getBoolean in interface BooleanNode

createOpNode

public OpNode createOpNode(Node left,
                           Node right)
Creates a new instace of this node type.

Overrides:
createOpNode in class OpNode

main

public static void main(java.lang.String[] args)
Test function for LogicalEqualOpNode

Parameters:
args - command line arguments