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

UnionPtg

public class UnionPtg extends OperationPtg
author
Glen Stampoultzis (glens at apache.org)

Fields Summary
public static final byte
sid
Constructors Summary
public UnionPtg()



     
    
    
public UnionPtg(RecordInputStream in)

        // doesn't need anything
    
Methods Summary
public java.lang.Objectclone()

        return new UnionPtg();
    
public intgetNumberOfOperands()

        return 2;
    
public intgetSize()

        return 1;
    
public intgetType()

        return TYPE_BINARY;
    
public java.lang.StringtoFormulaString(org.apache.poi.hssf.model.Workbook book)
Implementation of method from Ptg

        return ",";
    
public java.lang.StringtoFormulaString(java.lang.String[] operands)
implementation of method from OperationsPtg

         StringBuffer buffer = new StringBuffer();

         buffer.append(operands[ 0 ]);
         buffer.append(",");
         buffer.append(operands[ 1 ]);
         return buffer.toString();
     
public voidwriteBytes(byte[] array, int offset)

        array[ offset + 0 ] = sid;