public abstract class Operator extends Operation
Abstract Operator class.
Constructor and Description |
---|
Operator()
Constructor for Operator.
|
Operator(EquPart opTok)
Constructor for Operator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
negatize(EquPart rightSide)
An operator followed by a minus sign is always a negate rather than a
subtraction
|
protected int |
precedence()
precedence.
|
convertToBoolean, convertToDouble, includeInRpn, preceeds
public boolean negatize(EquPart rightSide)
protected int precedence()
precedence.
precedence
in class Operation