public abstract class ScalarConstantPtg extends Ptg
Ptgs
that represent simple constant values.
(代表简单常量值的所有 Ptg 的公共超类。)
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Constructor and Description |
---|
ScalarConstantPtg() |
Modifier and Type | Method and Description |
---|---|
byte |
getDefaultOperandClass() |
boolean |
isBaseToken() |
copy, createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, getSid, getSize, readTokens, serializePtgs, setClass, toFormulaString, toString, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren, getGenericProperties, getGenericRecordType
public final boolean isBaseToken()
isBaseToken
in class
Ptg
(类 Ptg 中的 isBaseToken)
false
if this token is classified as 'reference', 'value', or 'array'
(如果此标记被分类为“参考”、“值”或“数组”,则为 false)
public final byte getDefaultOperandClass()
getDefaultOperandClass
in class
Ptg
(类 Ptg 中的 getDefaultOperandClass)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.