Package org.apache.poi.ss.formula.ptg
Class AddPtg
java.lang.Object
org.apache.poi.ss.formula.ptg.Ptg
org.apache.poi.ss.formula.ptg.OperationPtg
org.apache.poi.ss.formula.ptg.ValueOperatorPtg
org.apache.poi.ss.formula.ptg.AddPtg
Addition operator PTG the "+" binomial operator. If you need more
explanation than that then well...We really can't help you here.
- Author:
- Andrew C. Oliver (acoliver@apache.org), Jason Height (jheight at chariot dot net dot au)
-
Field Summary
FieldsFields inherited from class org.apache.poi.ss.formula.ptg.OperationPtg
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
Fields inherited from class org.apache.poi.ss.formula.ptg.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionint
The number of operands expected by the operationsprotected byte
getSid()
toFormulaString
(String[] operands) implementation of method from OperationsPtgMethods inherited from class org.apache.poi.ss.formula.ptg.ValueOperatorPtg
getDefaultOperandClass, getSize, isBaseToken, toFormulaString, write
Methods inherited from class org.apache.poi.ss.formula.ptg.Ptg
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toString
-
Field Details
-
sid
public static final byte sid- See Also:
-
instance
-
-
Method Details
-
getSid
protected byte getSid()- Specified by:
getSid
in classValueOperatorPtg
-
getNumberOfOperands
public int getNumberOfOperands()Description copied from class:OperationPtg
The number of operands expected by the operations- Specified by:
getNumberOfOperands
in classOperationPtg
-
toFormulaString
implementation of method from OperationsPtg- Specified by:
toFormulaString
in classOperationPtg
- See Also:
-