|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.biff.formula.ParseItem | +--jxl.biff.formula.Operator | +--jxl.biff.formula.UnaryOperator
A cell reference in a formula
Fields inherited from class jxl.biff.formula.Operator |
operands |
Fields inherited from class jxl.biff.formula.ParseItem |
parent |
Constructor Summary | |
UnaryOperator()
Constructor |
Method Summary | |
(package private) byte[] |
getBytes()
Gets the token representation of this item in RPN |
void |
getOperands(java.util.Stack s)
Gets the operands for this operator from the stack |
void |
getString(java.lang.StringBuffer buf)
Gets the string representation of this item |
(package private) abstract java.lang.String |
getSymbol()
Abstract method which gets the binary operator string symbol |
(package private) abstract Token |
getToken()
Abstract method which gets the token for this operator |
int |
read(byte[] data,
int pos)
Reads the ptg data from the array starting at the specified position |
Methods inherited from class jxl.biff.formula.Operator |
add, getOperands, getPrecedence |
Methods inherited from class jxl.biff.formula.ParseItem |
setParent |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public UnaryOperator()
Method Detail |
public int read(byte[] data, int pos)
read
in interface ParsedThing
data
- the RPN arraypos
- the current position in the array, excluding the ptg identifierpublic void getOperands(java.util.Stack s)
getOperands
in class Operator
public void getString(java.lang.StringBuffer buf)
ParseItem
getString
in class ParseItem
jxl.biff.formula.ParseItem
ws
- the workbook settingsbyte[] getBytes()
getBytes
in class ParseItem
abstract java.lang.String getSymbol()
abstract Token getToken()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |