public abstract class OperationPtg extends Ptg
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_BINARY |
static int |
TYPE_FUNCTION |
static int |
TYPE_UNARY |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
Constructor and Description |
---|
OperationPtg() |
Modifier and Type | Method and Description |
---|---|
byte |
getDefaultOperandClass() |
abstract int |
getNumberOfOperands()
The number of operands expected by the operations
|
abstract int |
getType() |
abstract String |
toFormulaString(String[] operands)
returns a string representation of the operations
the length of the input array should equal the number returned by
|
clone, createParsedExpressionTokens, createPtg, getBytes, getPtgClass, getSize, serializePtgStack, setClass, toDebugString, toFormulaString, toString, writeBytes
public static final int TYPE_UNARY
public static final int TYPE_BINARY
public static final int TYPE_FUNCTION
public abstract int getType()
public abstract String toFormulaString(String[] operands)
getNumberOfOperands()
public abstract int getNumberOfOperands()
public byte getDefaultOperandClass()
getDefaultOperandClass
in class Ptg
Copyright © 2014 Open Microscopy Environment