public class LessThanPtg extends OperationPtg
| Modifier and Type | Field and Description | 
|---|---|
private static String | 
LESSTHAN
identifier for LESS THAN char 
 | 
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_UNARYCLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass| Constructor and Description | 
|---|
LessThanPtg()
Constructor. 
 | 
LessThanPtg(RecordInputStream in)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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 
 | 
String | 
toFormulaString(String[] operands)
Implementation of method from OperationsPtg 
 | 
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, toStringpublic static final int SIZE
public static final byte sid
private static final String LESSTHAN
public LessThanPtg()
public LessThanPtg(RecordInputStream in)
in - the RecordInputstream to read the record frompublic void writeBytes(byte[] array,
              int offset)
writeBytes in class Ptgarray - the array of bytes to write the sid tooffset - the offset to add the sid topublic int getSize()
public int getType()
getType in class OperationPtgpublic int getNumberOfOperands()
getNumberOfOperands in class OperationPtgpublic String toFormulaString(Workbook book)
toFormulaString in class Ptgbook - the Sheet Referencespublic String toFormulaString(String[] operands)
toFormulaString in class OperationPtgoperands - a String array of operandsOperationPtg.getNumberOfOperands()public byte getDefaultOperandClass()
getDefaultOperandClass in class OperationPtgCopyright © 2015 Open Microscopy Environment