1 16 17 package org.apache.poi.hssf.record.formula; 18 19 20 21 25 26 public abstract class OperationPtg extends Ptg 27 { 28 public final static int TYPE_UNARY = 0; 29 public final static int TYPE_BINARY = 1; 30 public final static int TYPE_FUNCTION = 2; 31 32 public abstract int getType(); 33 34 40 public abstract String toFormulaString(String [] operands); 41 42 45 public abstract int getNumberOfOperands(); 46 47 public byte getDefaultOperandClass() {return Ptg.CLASS_VALUE;} 48 49 } 50 | Popular Tags |