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:
Serializable
,Duplicatable
,GenericRecord
- Direct Known Subclasses:
AreaErrPtg
,AreaPtgBase
,DeferredNamePtg
,Deleted3DPxg
,DeletedArea3DPtg
,DeletedRef3DPtg
,MemAreaPtg
,MemErrPtg
,MemFuncPtg
,NamePtg
,NameXPtg
,NameXPxg
,RefErrorPtg
,RefPtgBase
public abstract class OperandPtg extends Ptg
- See Also:
- Serialized Form
-
-
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 Modifier Constructor Description protected
OperandPtg()
protected
OperandPtg(OperandPtg other)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract OperandPtg
copy()
boolean
isBaseToken()
All OperandPtg
s are classified ('relative', 'value', 'array')-
Methods inherited from class org.apache.poi.ss.formula.ptg.Ptg
createPtg, createPtg, doesFormulaReferToDeletedCell, getDefaultOperandClass, getEncodedSize, getEncodedSize, getEncodedSizeWithoutArrayData, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, getSid, getSize, readTokens, readTokens, serializePtgs, serializePtgs, setClass, toFormulaString, toString, write
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericProperties, getGenericRecordType
-
-
-
-
Constructor Detail
-
OperandPtg
protected OperandPtg()
-
OperandPtg
protected OperandPtg(OperandPtg other)
-
-
Method Detail
-
isBaseToken
public final boolean isBaseToken()
All OperandPtg
s are classified ('relative', 'value', 'array')- Specified by:
isBaseToken
in classPtg
- Returns:
false
if this token is classified as 'reference', 'value', or 'array'
-
copy
public abstract OperandPtg copy()
- Specified by:
copy
in interfaceDuplicatable
- Specified by:
copy
in classPtg
- Returns:
- a deep copy of the implementing class / instance
-
-