org.apache.poi.hssf.record.formula
Class DividePtg

java.lang.Object
  |
  +--org.apache.poi.hssf.record.formula.Ptg
        |
        +--org.apache.poi.hssf.record.formula.DividePtg
All Implemented Interfaces:
OperationPtg

public class DividePtg
extends Ptg
implements OperationPtg

Author:
andy

Field Summary
static byte sid
           
static int SIZE
           
 
Fields inherited from interface org.apache.poi.hssf.record.formula.OperationPtg
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
 
Constructor Summary
DividePtg()
          Creates new AddPtg
DividePtg(byte[] data, int offset)
           
 
Method Summary
 int getNumberOfOperands()
           
 int getSize()
           
 int getType()
           
 java.lang.String toFormulaString()
           
 java.lang.String toFormulaString(Ptg[] operands)
           
 void writeBytes(byte[] array, int offset)
           
 
Methods inherited from class org.apache.poi.hssf.record.formula.Ptg
createPtg, getBytes, getPrecedence, getStringLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

public static final int SIZE

sid

public static final byte sid
Constructor Detail

DividePtg

public DividePtg()
Creates new AddPtg

DividePtg

public DividePtg(byte[] data,
                 int offset)
Method Detail

writeBytes

public void writeBytes(byte[] array,
                       int offset)
Overrides:
writeBytes in class Ptg

getSize

public int getSize()
Overrides:
getSize in class Ptg

getType

public int getType()
Specified by:
getType in interface OperationPtg

getNumberOfOperands

public int getNumberOfOperands()
Specified by:
getNumberOfOperands in interface OperationPtg

toFormulaString

public java.lang.String toFormulaString()
Overrides:
toFormulaString in class Ptg

toFormulaString

public java.lang.String toFormulaString(Ptg[] operands)
Specified by:
toFormulaString in interface OperationPtg


Copyright © 2002 Apache jakarta-poi project. All Rights Reserved.