public class PowerPtg 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 |
---|
PowerPtg()
Creates new AddPtg
|
PowerPtg(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
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
|
getDefaultOperandClass
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString, toString
public static final int SIZE
public static final byte sid
public PowerPtg()
public PowerPtg(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()
Copyright © 2014 Open Microscopy Environment