Package org.apache.poi.ss.formula.ptg
Class OperandPtg
java.lang.Object
org.apache.poi.ss.formula.ptg.Ptg
org.apache.poi.ss.formula.ptg.OperandPtg
- All Implemented Interfaces:
Duplicatable,GenericRecord
- Direct Known Subclasses:
AreaErrPtg,AreaPtgBase,Deleted3DPxg,DeletedArea3DPtg,DeletedRef3DPtg,MemAreaPtg,MemErrPtg,MemFuncPtg,NamePtg,NameXPtg,NameXPxg,RefErrorPtg,RefPtgBase
-
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 TypeMethodDescriptionabstract OperandPtgcopy()final booleanAll OperandPtgs are classified ('relative', 'value', 'array')Methods inherited from class org.apache.poi.ss.formula.ptg.Ptg
createPtg, doesFormulaReferToDeletedCell, getDefaultOperandClass, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, getSid, getSize, readTokens, serializePtgs, setClass, toFormulaString, toString, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericProperties, getGenericRecordType
-
Constructor Details
-
OperandPtg
protected OperandPtg() -
OperandPtg
-
-
Method Details
-
isBaseToken
public final boolean isBaseToken()All OperandPtgs are classified ('relative', 'value', 'array')- Specified by:
isBaseTokenin classPtg- Returns:
falseif this token is classified as 'reference', 'value', or 'array'
-
copy
- Specified by:
copyin interfaceDuplicatable- Specified by:
copyin classPtg- Returns:
- a deep copy of the implementing class / instance
-