public class LessThanPtg extends OperationPtg
Modifier and Type | Field and Description |
---|---|
static byte |
sid
the sid for the less than operator as hex
|
static int |
SIZE
the size of the Ptg
|
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
Constructor and Description |
---|
LessThanPtg()
Constructor.
|
LessThanPtg(RecordInputStream in)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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
|
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString, toString
public static final int SIZE
public static final byte sid
public LessThanPtg()
public LessThanPtg(RecordInputStream in)
in
- the RecordInputstream to read the record frompublic 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()
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 operandsOperationPtg.getNumberOfOperands()
public byte getDefaultOperandClass()
getDefaultOperandClass
in class OperationPtg
Copyright © 2014 Open Microscopy Environment