public final class UnaryMinusPtg extends ValueOperatorPtg
| Modifier and Type | Field and Description | 
|---|---|
static UnaryMinusPtg |  
           instance  |  
          
static byte |  
           sid  |  
          
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARYCLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY| Modifier and Type | Method and Description | 
|---|---|
UnaryMinusPtg |  
           copy()  |  
          
int |  
           getNumberOfOperands() 
            
              The number of operands expected by the operations 
             (操作预期的操作数数量) 
               |  
          
byte |  
           getSid()  |  
          
java.lang.String |  
           toFormulaString(java.lang.String[] operands) 
            
              implementation of method from OperationsPtg 
             (OperationsPtg 方法的实现) 
               |  
          
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 UnaryMinusPtg instance
public byte getSid()
public int getNumberOfOperands()
OperationPtg 
          getNumberOfOperands in class  
            OperationPtg 
            (类 OperationPtg 中的 getNumberOfOperands) 
           public java.lang.String toFormulaString(java.lang.String[] operands)
toFormulaString in class  
            OperationPtg 
            (OperationPtg 类中的 toFormulaString) 
           OperationPtg.getNumberOfOperands() 
           public UnaryMinusPtg copy()
copy in interface  
            Duplicatable 
            (复制到界面 Duplicatable) 
           copy in class  
            Ptg 
            (在 Ptg 类中复制) 
           Copyright 2021 The Apache Software Foundation or its licensors, as applicable.