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
Constructor and Description |
---|
OperationPtg() |
Modifier and Type | Method and Description |
---|---|
byte |
getDefaultOperandClass() |
abstract int |
getNumberOfOperands()
The number of operands expected by the operations
|
abstract String |
toFormulaString(String[] operands)
returns a string representation of the operations
the length of the input array should equal the number returned by
|
String |
toInternalFormulaString(String[] operands) |
clone, createPtg, createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSize, getEncodedSizeWithoutArrayData, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, getSize, getSize, isBaseToken, readTokens, readTokens, serializePtgs, serializePtgs, setClass, toFormulaString, toString, write, write
public static final int TYPE_UNARY
public static final int TYPE_BINARY
public static final int TYPE_FUNCTION
public abstract String toFormulaString(String[] operands)
getNumberOfOperands()
public abstract int getNumberOfOperands()
public byte getDefaultOperandClass()
getDefaultOperandClass
in class Ptg
Copyright © 2020. All rights reserved.