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
ParseExceptionPNodeI sub(PNodeI node) throws ParseException
ParseExceptionPNodeI negate() throws ParseException
ParseExceptionPNodeI mul(PNodeI node) throws ParseException
ParseExceptionPNodeI div(PNodeI node) throws ParseException
ParseExceptionPNodeI pow(PNodeI node) throws ParseException
ParseExceptionPNodeI invert() throws ParseException
ParseExceptionboolean equals(PNodeI node)
boolean equals(Object o)
int compareTo(PNodeI fun)
Node toNode() throws ParseException
ParseExceptionString toString()
boolean isZero()
boolean isOne()
PNodeI expand() throws ParseException
ParseExceptionCopyright © 2018. All rights reserved.