Package org.apache.poi.ss.formula.ptg
Class SubtractPtg
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.SubtractPtg
- Author:
- andy, 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_UNARYFields inherited from class org.apache.poi.ss.formula.ptg.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionintThe number of operands expected by the operationsprotected bytegetSid()toFormulaString(String[] operands) returns a string representation of the operations the length of the input array should equal the number returned byMethods inherited from class org.apache.poi.ss.formula.ptg.ValueOperatorPtg
getDefaultOperandClass, getSize, isBaseToken, toFormulaString, writeMethods 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:
getSidin classValueOperatorPtg
-
getNumberOfOperands
public int getNumberOfOperands()Description copied from class:OperationPtgThe number of operands expected by the operations- Specified by:
getNumberOfOperandsin classOperationPtg
-
toFormulaString
Description copied from class:OperationPtgreturns a string representation of the operations the length of the input array should equal the number returned by- Specified by:
toFormulaStringin classOperationPtg- See Also:
-