AbstractFunctionPtg
, IntersectionPtg
, RangePtg
, UnionPtg
, ValueOperatorPtg
public abstract class OperationPtg extends Ptg
Modifier and Type | Field | Description |
---|---|---|
static int |
TYPE_BINARY |
|
static int |
TYPE_FUNCTION |
|
static int |
TYPE_UNARY |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Constructor | Description |
---|---|
OperationPtg() |
Modifier and Type | Method | 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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.