|
|||||||||
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.BuiltInFunction
A built in function in a formula
Field Summary | |
private Function |
function
The function |
Fields inherited from class jxl.biff.formula.Operator |
operands |
Fields inherited from class jxl.biff.formula.ParseItem |
parent |
Constructor Summary | |
BuiltInFunction()
Constructor |
|
BuiltInFunction(Function f)
Constructor used when parsing a formula from a string |
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 |
(package private) int |
getPrecedence()
Gets the precedence for this operator. |
void |
getString(java.lang.StringBuffer buf)
Gets the string representation of this item |
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 |
Methods inherited from class jxl.biff.formula.ParseItem |
setParent |
Methods inherited from class java.lang.Object |
|
Field Detail |
private Function function
Constructor Detail |
public BuiltInFunction()
public BuiltInFunction(Function f)
f
- the functionMethod 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
byte[] getBytes()
getBytes
in class ParseItem
int getPrecedence()
getPrecedence
in class Operator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |