public class PercentPtg extends OperationPtg
| Modifier and Type | Field and Description |
|---|---|
private static String |
PERCENT |
static byte |
sid |
static int |
SIZE |
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARYCLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass| Constructor and Description |
|---|
PercentPtg()
Creates new PercentPtg
|
PercentPtg(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)
implementation of method from OperationsPtg
|
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, toStringpublic static final int SIZE
public static final byte sid
private static final String PERCENT
public PercentPtg()
public PercentPtg(RecordInputStream in)
public void writeBytes(byte[] array,
int offset)
PtgwriteBytes in class Ptgpublic int getType()
getType in class OperationPtgpublic int getNumberOfOperands()
OperationPtggetNumberOfOperands in class OperationPtgpublic String toFormulaString(Workbook book)
toFormulaString in class Ptgpublic String toFormulaString(String[] operands)
toFormulaString in class OperationPtgOperationPtg.getNumberOfOperands()public byte getDefaultOperandClass()
getDefaultOperandClass in class OperationPtgCopyright © 2015 Open Microscopy Environment