public final class MultiplyPtg extends ValueOperatorPtg
Modifier and Type | Field and Description |
---|---|
static byte |
sid |
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Constructor and Description |
---|
MultiplyPtg() |
MultiplyPtg(LittleEndianInput in,
SpreadsheetVersion version) |
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfOperands()
The number of operands expected by the operations
|
protected byte |
getSid() |
int |
getSize(SpreadsheetVersion version) |
boolean |
isOperator() |
void |
setOperator(boolean b) |
String |
toFormulaString(String[] operands)
returns a string representation of the operations
the length of the input array should equal the number returned by
|
void |
write(LittleEndianOutput out,
SpreadsheetVersion version) |
getDefaultOperandClass, getSize, isBaseToken, toFormulaString, write
toInternalFormulaString
clone, createPtg, createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSize, getEncodedSizeWithoutArrayData, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, readTokens, serializePtgs, serializePtgs, setClass, toString
public static final byte sid
public MultiplyPtg()
public MultiplyPtg(LittleEndianInput in, SpreadsheetVersion version)
protected byte getSid()
getSid
in class ValueOperatorPtg
public int getSize(SpreadsheetVersion version)
getSize
in class ValueOperatorPtg
public void write(LittleEndianOutput out, SpreadsheetVersion version)
write
in class ValueOperatorPtg
public int getNumberOfOperands()
OperationPtg
getNumberOfOperands
in class OperationPtg
public String toFormulaString(String[] operands)
OperationPtg
toFormulaString
in class OperationPtg
OperationPtg.getNumberOfOperands()
public void setOperator(boolean b)
public boolean isOperator()
Copyright © 2020. All rights reserved.