public class SubtractPtg 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 |
---|
SubtractPtg() |
SubtractPtg(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
getNumberOfOperands()
The number of operands expected by the operations
|
int |
getSize() |
int |
getType() |
java.lang.String |
toFormulaString(java.lang.String[] operands)
returns a string representation of the operations
the length of the input array should equal the number returned by
|
java.lang.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 SubtractPtg()
public SubtractPtg(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)
Ptg
toFormulaString
in class Ptg
public java.lang.String toFormulaString(java.lang.String[] operands)
OperationPtg
toFormulaString
in class OperationPtg
OperationPtg.getNumberOfOperands()
Copyright © 2014 Open Microscopy Environment