public final class UnaryMinusPtg extends ValueOperatorPtg
Modifier and Type | Field and Description |
---|---|
static ValueOperatorPtg |
instance |
static byte |
sid |
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfOperands()
The number of operands expected by the operations
|
protected byte |
getSid() |
java.lang.String |
toFormulaString(java.lang.String[] operands)
implementation of method from OperationsPtg
|
getDefaultOperandClass, getSize, isBaseToken, toFormulaString, write
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toString
public static final byte sid
public static final ValueOperatorPtg instance
protected byte getSid()
getSid
in class ValueOperatorPtg
public int getNumberOfOperands()
OperationPtg
getNumberOfOperands
in class OperationPtg
public java.lang.String toFormulaString(java.lang.String[] operands)
toFormulaString
in class OperationPtg
OperationPtg.getNumberOfOperands()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.