FileDocCategorySizeDatePackage
OperationPtg.javaAPI DocApache Poi 3.0.11759Mon Jan 01 12:39:40 GMT 2007org.apache.poi.hssf.record.formula

OperationPtg

public abstract class OperationPtg extends Ptg
defines a Ptg that is an operation instead of an operand
author
andy

Fields Summary
public static final int
TYPE_UNARY
public static final int
TYPE_BINARY
public static final int
TYPE_FUNCTION
Constructors Summary
Methods Summary
public bytegetDefaultOperandClass()


       
    
                                    
        
    
                 
       
    
       return Ptg.CLASS_VALUE;
public abstract intgetNumberOfOperands()
The number of operands expected by the operations

public abstract intgetType()

public abstract java.lang.StringtoFormulaString(java.lang.String[] operands)
returns a string representation of the operations the length of the input array should equal the number returned by

see
#getNumberOfOperands