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 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
|
java.lang.String |
toInternalFormulaString(java.lang.String[] operands) |
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, getSize, isBaseToken, readTokens, serializePtgs, setClass, toFormulaString, toString, write
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.lang.String toInternalFormulaString(java.lang.String[] operands)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.