public final class SubtractPtg extends ValueOperatorPtg
| Modifier and Type | Field and Description | 
|---|---|
| static SubtractPtg | instance | 
| static byte | sid | 
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARYCLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY| Modifier and Type | Method and Description | 
|---|---|
| SubtractPtg | copy() | 
| int | getNumberOfOperands()The number of operands expected by the operations | 
| byte | getSid() | 
| java.lang.String | toFormulaString(java.lang.String[] operands)returns a string representation of the operations
  the length of the input array should equal the number returned by | 
getDefaultOperandClass, getSize, isBaseToken, toFormulaString, writegetGenericPropertiescreatePtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericChildren, getGenericRecordTypepublic static final byte sid
public static final SubtractPtg instance
public byte getSid()
public int getNumberOfOperands()
OperationPtggetNumberOfOperands in class OperationPtgpublic java.lang.String toFormulaString(java.lang.String[] operands)
OperationPtgtoFormulaString in class OperationPtgOperationPtg.getNumberOfOperands()public SubtractPtg copy()
copy in interface Duplicatablecopy in class PtgCopyright 2021 The Apache Software Foundation or its licensors, as applicable.