Class OperandPtg

java.lang.Object
org.apache.poi.ss.formula.ptg.Ptg
org.apache.poi.ss.formula.ptg.OperandPtg
All Implemented Interfaces:
org.apache.poi.common.Duplicatable, GenericRecord
Direct Known Subclasses:
AreaErrPtg, AreaPtgBase, Deleted3DPxg, DeletedArea3DPtg, DeletedRef3DPtg, MemAreaPtg, MemErrPtg, MemFuncPtg, NamePtg, NameXPtg, NameXPxg, RefErrorPtg, RefPtgBase

public abstract class OperandPtg extends Ptg
  • Method Details

    • isBaseToken

      public final boolean isBaseToken()
      All Operand Ptgs are classified ('relative', 'value', 'array')
      Specified by:
      isBaseToken in class Ptg
      Returns:
      false if this token is classified as 'reference', 'value', or 'array'
    • copy

      public abstract OperandPtg copy()
      Specified by:
      copy in interface org.apache.poi.common.Duplicatable
      Specified by:
      copy in class Ptg