public final class RangePtg extends OperationPtg
| Modifier and Type | Field and Description |
|---|---|
static OperationPtg |
instance |
static byte |
sid |
static int |
SIZE |
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARYCLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfOperands()
The number of operands expected by the operations
|
int |
getSize() |
int |
getSize(SpreadsheetVersion version) |
boolean |
isBaseToken() |
String |
toFormulaString()
return a string representation of this token alone
|
String |
toFormulaString(String[] operands)
implementation of method from OperationsPtg
|
void |
write(LittleEndianOutput out) |
void |
write(LittleEndianOutput out,
SpreadsheetVersion version) |
getDefaultOperandClass, toInternalFormulaStringclone, createPtg, createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSize, getEncodedSizeWithoutArrayData, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, readTokens, serializePtgs, serializePtgs, setClass, toStringpublic static final int SIZE
public static final byte sid
public static final OperationPtg instance
public final boolean isBaseToken()
isBaseToken in class Ptgfalse if this token is classified as 'reference', 'value', or 'array'public int getSize()
public int getSize(SpreadsheetVersion version)
public void write(LittleEndianOutput out)
public void write(LittleEndianOutput out, SpreadsheetVersion version)
public String toFormulaString()
PtgtoFormulaString in class Ptgpublic String toFormulaString(String[] operands)
toFormulaString in class OperationPtgOperationPtg.getNumberOfOperands()public int getNumberOfOperands()
OperationPtggetNumberOfOperands in class OperationPtgCopyright © 2020. All rights reserved.