public class GreaterThanPtg extends OperationPtg
Modifier and Type | Field and Description |
---|---|
private static String |
GREATERTHAN |
static byte |
sid |
static int |
SIZE |
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
Constructor and Description |
---|
GreaterThanPtg()
Constructor.
|
GreaterThanPtg(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 Greater 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, toString
public static final int SIZE
public static final byte sid
private static final String GREATERTHAN
public GreaterThanPtg()
public GreaterThanPtg(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 String toFormulaString(Workbook book)
toFormulaString
in class Ptg
book
- the Sheet Referencespublic String toFormulaString(String[] operands)
toFormulaString
in class OperationPtg
operands
- a String array of operandsOperationPtg.getNumberOfOperands()
public byte getDefaultOperandClass()
getDefaultOperandClass
in class OperationPtg
Copyright © 2015 Open Microscopy Environment