public final class RangePtg extends OperationPtg
Modifier and Type | Field and Description |
---|---|
static RangePtg |
instance |
static byte |
sid |
static int |
SIZE |
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Modifier and Type | Method and Description |
---|---|
RangePtg |
copy() |
int |
getNumberOfOperands()
The number of operands expected by the operations
(操作预期的操作数数量)
|
byte |
getSid() |
int |
getSize() |
boolean |
isBaseToken() |
java.lang.String |
toFormulaString()
return a string representation of this token alone
(单独返回此标记的字符串表示)
|
java.lang.String |
toFormulaString(java.lang.String[] operands)
implementation of method from OperationsPtg
(OperationsPtg 方法的实现)
|
void |
write(LittleEndianOutput out) |
getDefaultOperandClass, getGenericProperties
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren, getGenericRecordType
public static final int SIZE
public static final byte sid
public static final RangePtg instance
public final boolean isBaseToken()
isBaseToken
in class
Ptg
(类 Ptg 中的 isBaseToken)
false
if this token is classified as 'reference', 'value', or 'array'
(如果此标记被分类为“参考”、“值”或“数组”,则为 false)
public byte getSid()
public int getSize()
public void write(LittleEndianOutput out)
public java.lang.String toFormulaString()
Ptg
toFormulaString
in class
Ptg
(Ptg 类中的 toFormulaString)
public java.lang.String toFormulaString(java.lang.String[] operands)
toFormulaString
in class
OperationPtg
(OperationPtg 类中的 toFormulaString)
OperationPtg.getNumberOfOperands()
public int getNumberOfOperands()
OperationPtg
getNumberOfOperands
in class
OperationPtg
(类 OperationPtg 中的 getNumberOfOperands)
public RangePtg copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
Ptg
(在 Ptg 类中复制)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.