InfixOperator
, PostfixOperator
, PrefixOperator
public abstract class Operator extends Object
Modifier and Type | Field | Description |
---|---|---|
protected String |
fFunctionName |
|
protected String |
fOperatorString |
|
protected int |
fPrecedence |
Constructor | Description |
---|---|
Operator(String oper,
String functionName,
int precedence) |
Instantiates a new operator.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object obj) |
Equals.
|
String |
getFunctionName() |
Gets the function name.
|
String |
getOperatorString() |
Gets the operator string.
|
int |
getPrecedence() |
Gets the precedence.
|
int |
hashCode() |
Hash code.
|
String |
toString() |
To string.
|
protected String fFunctionName
protected String fOperatorString
protected int fPrecedence
public String getFunctionName()
public String getOperatorString()
public int getPrecedence()
public int hashCode()
Copyright © 2018. All rights reserved.