public class UnaryPlusPtg extends OperationPtg
Modifier and Type | Field and Description |
---|---|
private static String |
ADD |
static byte |
sid |
static int |
SIZE |
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
Constructor and Description |
---|
UnaryPlusPtg()
Creates new AddPtg
|
UnaryPlusPtg(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, toString
public static final int SIZE
public static final byte sid
private static final String ADD
public UnaryPlusPtg()
public UnaryPlusPtg(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)
toFormulaString
in class Ptg
public String toFormulaString(String[] operands)
toFormulaString
in class OperationPtg
OperationPtg.getNumberOfOperands()
public byte getDefaultOperandClass()
getDefaultOperandClass
in class OperationPtg
Copyright © 2015 Open Microscopy Environment