|
||||||||||
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.GreaterThanPtg
public class GreaterThanPtg
Greater than operator PTG ">"
Field Summary | |
---|---|
static byte |
sid
|
static int |
SIZE
|
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 | |
---|---|
GreaterThanPtg()
Constructor. |
|
GreaterThanPtg(RecordInputStream in)
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 Greater 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 |
---|
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, 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 GreaterThanPtg()
public GreaterThanPtg(RecordInputStream in)
in
- the RecordInputstream to read the record fromMethod 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
book
- the Sheet Referencespublic 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 |