Class OperationPtg

java.lang.Object
org.apache.poi.ss.formula.ptg.Ptg
org.apache.poi.ss.formula.ptg.OperationPtg
All Implemented Interfaces:
org.apache.poi.common.Duplicatable, GenericRecord
Direct Known Subclasses:
AbstractFunctionPtg, IntersectionPtg, RangePtg, UnionPtg, ValueOperatorPtg

public abstract class OperationPtg extends Ptg
defines a Ptg that is an operation instead of an operand
  • Field Details

  • Method Details

    • toFormulaString

      public abstract String toFormulaString(String[] operands)
      returns a string representation of the operations the length of the input array should equal the number returned by
      See Also:
    • getNumberOfOperands

      public abstract int getNumberOfOperands()
      The number of operands expected by the operations
    • getDefaultOperandClass

      public byte getDefaultOperandClass()
      Specified by:
      getDefaultOperandClass in class Ptg
    • getGenericProperties

      public Map<String,Supplier<?>> getGenericProperties()