Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache » poi » hssf » record » formula » [javadoc | source]
org.apache.poi.hssf.record.formula
abstract public class: OperationPtg [javadoc | source]
java.lang.Object
   org.apache.poi.hssf.record.formula.Ptg
      org.apache.poi.hssf.record.formula.OperationPtg

All Implemented Interfaces:
    Cloneable

Direct Known Subclasses:
    LessThanPtg, FuncPtg, AbstractFunctionPtg, UnionPtg, EqualPtg, ValueOperatorPtg, PowerPtg, LessEqualPtg, IntersectionPtg, PercentPtg, DividePtg, ConcatPtg, UnaryPlusPtg, UnaryMinusPtg, AddPtg, SubtractPtg, MultiplyPtg, FuncVarPtg, GreaterEqualPtg, GreaterThanPtg, NotEqualPtg, RangePtg

defines a Ptg that is an operation instead of an operand
Field Summary
public static final  int TYPE_UNARY     
public static final  int TYPE_BINARY     
public static final  int TYPE_FUNCTION     
Fields inherited from org.apache.poi.hssf.record.formula.Ptg:
CLASS_REF,  CLASS_VALUE,  CLASS_ARRAY
Method from org.apache.poi.hssf.record.formula.OperationPtg Summary:
getDefaultOperandClass,   getNumberOfOperands,   getType,   toFormulaString
Methods from org.apache.poi.hssf.record.formula.Ptg:
clone,   copy,   createParsedExpressionTokens,   createPtg,   getBytes,   getDefaultOperandClass,   getEncodedSize,   getEncodedSize,   getPtgClass,   getSize,   isBaseToken,   readTokens,   serializePtgStack,   serializePtgs,   setClass,   toDebugString,   toFormulaString,   toString,   writeBytes
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.hssf.record.formula.OperationPtg Detail:
 public byte getDefaultOperandClass() 
 abstract public int getNumberOfOperands()
    The number of operands expected by the operations
 public final int getType() 
 abstract public String toFormulaString(String[] operands)
    returns a string representation of the operations the length of the input array should equal the number returned by