public class PercentPtg extends OperationPtg
Modifier and Type | Field and Description |
---|---|
static byte |
sid |
static int |
SIZE |
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
Constructor and Description |
---|
PercentPtg()
Creates new PercentPtg
|
PercentPtg(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
byte |
getDefaultOperandClass() |
int |
getNumberOfOperands()
The number of operands expected by the operations
|
int |
getSize() |
int |
getType() |
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 this Ptg to a byte array
|
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString, toString
public static final int SIZE
public static final byte sid
public PercentPtg()
public PercentPtg(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 java.lang.String toFormulaString(Workbook book)
toFormulaString
in class Ptg
public java.lang.String toFormulaString(java.lang.String[] operands)
toFormulaString
in class OperationPtg
OperationPtg.getNumberOfOperands()
public byte getDefaultOperandClass()
getDefaultOperandClass
in class OperationPtg
Copyright © 2014 Open Microscopy Environment