public final class PowerPtg extends ValueOperatorPtg
Modifier and Type | Field and Description |
---|---|
static PowerPtg |
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 |
---|---|
PowerPtg |
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, write
getGenericProperties
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren, getGenericRecordType
public static final byte sid
public static final PowerPtg instance
public byte getSid()
public int getNumberOfOperands()
OperationPtg
getNumberOfOperands
in class OperationPtg
public java.lang.String toFormulaString(java.lang.String[] operands)
OperationPtg
toFormulaString
in class OperationPtg
OperationPtg.getNumberOfOperands()
public PowerPtg copy()
copy
in interface Duplicatable
copy
in class Ptg
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.