public interface PNodeI
Modifier and Type | Method and Description |
---|---|
PNodeI |
add(PNodeI node)
Adds a node to this one.
|
int |
compareTo(PNodeI fun)
Compares this expression to argument.
|
PNodeI |
div(PNodeI node)
Divides this by the argument.
|
boolean |
equals(Object o)
True is nodes represent the same parse trees
|
boolean |
equals(PNodeI node)
True is nodes represent the same parse trees
|
PNodeI |
expand()
complete expansion.
|
PNodeI |
invert()
inverts node i.e.
|
boolean |
isOne()
True if node represents one
|
boolean |
isZero()
True if node represents zero
|
PNodeI |
mul(PNodeI node)
Multiplies this by the argument.
|
PNodeI |
negate()
negates node i.e.
|
PNodeI |
pow(PNodeI node)
Raise this to the argument.
|
PNodeI |
sub(PNodeI node)
Subtracts the argument from this.
|
Node |
toNode()
Converts the node to standard JEP format.
|
String |
toString()
Produces a string representation of the argument.
|
PNodeI add(PNodeI node) throws ParseException
ParseException
PNodeI sub(PNodeI node) throws ParseException
ParseException
PNodeI negate() throws ParseException
ParseException
PNodeI mul(PNodeI node) throws ParseException
ParseException
PNodeI div(PNodeI node) throws ParseException
ParseException
PNodeI pow(PNodeI node) throws ParseException
ParseException
PNodeI invert() throws ParseException
ParseException
boolean equals(PNodeI node)
boolean equals(Object o)
int compareTo(PNodeI fun)
Node toNode() throws ParseException
ParseException
String toString()
boolean isZero()
boolean isOne()
PNodeI expand() throws ParseException
ParseException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics