Package org.apache.poi.ss.formula.ptg
Class ScalarConstantPtg
java.lang.Object
org.apache.poi.ss.formula.ptg.Ptg
org.apache.poi.ss.formula.ptg.ScalarConstantPtg
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable
,GenericRecord
Common superclass of all
Ptgs
that represent simple constant values.-
Field Summary
Fields inherited from class org.apache.poi.ss.formula.ptg.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal byte
final boolean
Methods inherited from class org.apache.poi.ss.formula.ptg.Ptg
copy, createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, getSid, getSize, readTokens, serializePtgs, setClass, toFormulaString, toString, write
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericProperties, getGenericRecordType
-
Constructor Details
-
ScalarConstantPtg
public ScalarConstantPtg()
-
-
Method Details
-
isBaseToken
public final boolean isBaseToken()- Specified by:
isBaseToken
in classPtg
- Returns:
false
if this token is classified as 'reference', 'value', or 'array'
-
getDefaultOperandClass
public final byte getDefaultOperandClass()- Specified by:
getDefaultOperandClass
in classPtg
-