Class GreaterThanPtg

  • All Implemented Interfaces:
    org.apache.poi.common.Duplicatable, GenericRecord

    public final class GreaterThanPtg
    extends ValueOperatorPtg
    Greater than operator PTG ">"
    • Method Detail

      • getSid

        public byte getSid()
        Specified by:
        getSid in class Ptg
        Returns:
        structure id of the parsed thing, or -1 if the record has no sid
      • getNumberOfOperands

        public int getNumberOfOperands()
        Get the number of operands for the Less than operator
        Specified by:
        getNumberOfOperands in class OperationPtg
        Returns:
        int the number of operands
      • toFormulaString

        public java.lang.String toFormulaString​(java.lang.String[] operands)
        Implementation of method from OperationsPtg
        Specified by:
        toFormulaString in class OperationPtg
        Parameters:
        operands - a String array of operands
        Returns:
        String the Formula as a String
        See Also:
        OperationPtg.getNumberOfOperands()
      • copy

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