|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hssf.record.formula.Ptg
org.apache.poi.hssf.record.formula.OperationPtg
org.apache.poi.hssf.record.formula.LessThanPtg
Less than operator PTG "<". The SID is taken from the Openoffice.orgs Documentation of the Excel File Format, Table 3.5.7
Field Summary | |
static byte |
sid
the sid for the less than operator as hex |
static int |
SIZE
the size of the Ptg |
Fields inherited from class org.apache.poi.hssf.record.formula.OperationPtg |
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY |
Fields inherited from class org.apache.poi.hssf.record.formula.Ptg |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass |
Constructor Summary | |
LessThanPtg()
Constructor. |
|
LessThanPtg(byte[] data,
int offset)
Constructor. |
Method Summary | |
java.lang.Object |
clone()
Implementation of clone method from Object |
byte |
getDefaultOperandClass()
Get the default operands class value |
int |
getNumberOfOperands()
Get the number of operands for the Less than operator |
int |
getSize()
Get the size of the sid |
int |
getType()
Get the type of PTG for Less Than |
java.lang.String |
toFormulaString(java.lang.String[] operands)
Implementation of method from OperationsPtg |
java.lang.String |
toFormulaString(Workbook book)
Implementation of method from Ptg |
void |
writeBytes(byte[] array,
int offset)
Write the sid to an array |
Methods inherited from class org.apache.poi.hssf.record.formula.Ptg |
createPtg, getBytes, getPtgClass, setClass, toDebugString, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int SIZE
public static final byte sid
Constructor Detail |
public LessThanPtg()
public LessThanPtg(byte[] data, int offset)
data
- the byte array to have the PTG added tooffset
- the offset to the PTG to.Method Detail |
public void writeBytes(byte[] array, int offset)
writeBytes
in class Ptg
array
- the array of bytes to write the sid tooffset
- the offset to add the sid topublic int getSize()
getSize
in class Ptg
public int getType()
getType
in class OperationPtg
public int getNumberOfOperands()
getNumberOfOperands
in class OperationPtg
public java.lang.String toFormulaString(Workbook book)
toFormulaString
in class Ptg
public java.lang.String toFormulaString(java.lang.String[] operands)
toFormulaString
in class OperationPtg
operands
- a String array of operands
OperationPtg.getNumberOfOperands()
public byte getDefaultOperandClass()
getDefaultOperandClass
in class OperationPtg
public java.lang.Object clone()
clone
in class Ptg
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |