|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hssf.record.formula.Ptg
org.apache.poi.hssf.record.formula.OperationPtg
org.apache.poi.hssf.record.formula.AbstractFunctionPtg
org.apache.poi.hssf.record.formula.FuncPtg
public final class FuncPtg
Field Summary | |
---|---|
static byte |
sid
|
static int |
SIZE
|
Fields inherited from class org.apache.poi.hssf.record.formula.AbstractFunctionPtg |
---|
field_1_num_args, field_2_fnc_index, FUNCTION_NAME_IF, paramClass, returnClass |
Fields inherited from class org.apache.poi.hssf.record.formula.OperationPtg |
---|
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY |
Fields inherited from class org.apache.poi.hssf.record.formula.Ptg |
---|
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY |
Constructor Summary | |
---|---|
FuncPtg(int functionIndex)
|
|
FuncPtg(LittleEndianInput in)
Creates new function pointer from a byte array usually called while reading an excel file. |
Method Summary | |
---|---|
int |
getNumberOfOperands()
The number of operands expected by the operations |
int |
getSize()
|
java.lang.String |
toString()
Overridden toString method to ensure object hash is not printed. |
void |
write(LittleEndianOutput out)
//@return the encoded length of this Ptg, not including the initial Ptg type identifier byte. |
Methods inherited from class org.apache.poi.hssf.record.formula.AbstractFunctionPtg |
---|
getDefaultOperandClass, getFunctionIndex, getName, getParameterClass, isBaseToken, isBuiltInFunctionName, isExternalFunction, lookupIndex, lookupName, toFormulaString, toFormulaString |
Methods inherited from class org.apache.poi.hssf.record.formula.OperationPtg |
---|
getType |
Methods inherited from class org.apache.poi.hssf.record.formula.Ptg |
---|
clone, copy, createPtg, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final byte sid
public static final int SIZE
Constructor Detail |
---|
public FuncPtg(LittleEndianInput in)
public FuncPtg(int functionIndex)
Method Detail |
---|
public void write(LittleEndianOutput out)
Ptg
write
in class Ptg
public int getNumberOfOperands()
OperationPtg
getNumberOfOperands
in class OperationPtg
public int getSize()
getSize
in class AbstractFunctionPtg
public java.lang.String toString()
Ptg
toString
in class AbstractFunctionPtg
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |