public class ParenthesisPtg extends OperationPtg
Modifier and Type | Field and Description |
---|---|
static byte |
sid |
private static int |
SIZE |
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
Constructor and Description |
---|
ParenthesisPtg() |
ParenthesisPtg(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
byte |
getDefaultOperandClass() |
int |
getNumberOfOperands()
The number of operands expected by the operations
|
int |
getSize() |
int |
getType() |
String |
toFormulaString(String[] operands)
returns a string representation of the operations
the length of the input array should equal the number returned by
|
String |
toFormulaString(Workbook book)
return a string representation of this token alone
|
void |
writeBytes(byte[] array,
int offset)
write this Ptg to a byte array
|
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString, toString
private static final int SIZE
public static final byte sid
public ParenthesisPtg()
public ParenthesisPtg(RecordInputStream in)
public void writeBytes(byte[] array, int offset)
Ptg
writeBytes
in class Ptg
public int getType()
getType
in class OperationPtg
public int getNumberOfOperands()
OperationPtg
getNumberOfOperands
in class OperationPtg
public String toFormulaString(Workbook book)
Ptg
toFormulaString
in class Ptg
public String toFormulaString(String[] operands)
OperationPtg
toFormulaString
in class OperationPtg
OperationPtg.getNumberOfOperands()
public byte getDefaultOperandClass()
getDefaultOperandClass
in class OperationPtg
Copyright © 2015 Open Microscopy Environment