public abstract class OperationPtg extends Ptg
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_BINARY |
static int |
TYPE_FUNCTION |
static int |
TYPE_UNARY |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Modifier | Constructor and Description |
---|---|
protected |
OperationPtg() |
Modifier and Type | Method and Description |
---|---|
byte |
getDefaultOperandClass() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
abstract int |
getNumberOfOperands()
The number of operands expected by the operations
|
abstract 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
|
copy, createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, getSid, getSize, isBaseToken, readTokens, serializePtgs, setClass, toFormulaString, toString, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren, getGenericRecordType
public static final int TYPE_UNARY
public static final int TYPE_BINARY
public static final int TYPE_FUNCTION
public abstract java.lang.String toFormulaString(java.lang.String[] operands)
getNumberOfOperands()
public abstract int getNumberOfOperands()
public byte getDefaultOperandClass()
getDefaultOperandClass
in class Ptg
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.