private final static int SIZE = 1;
public final static byte sid = 0x15;
+ public ParenthesisPtg()
+ {
+ }
+
+ public ParenthesisPtg(byte [] data, int offset)
+ {
+
+ // doesn't need anything
+ }
+
+ protected ParenthesisPtg(String formula, int offset) {
+
+ }
+
public void writeBytes(byte [] array, int offset)
{
array[ offset + 0 ] = sid;
{
return "";
}
-
- public void manipulate(List source, List results, int pos) {
- }
-
+
public String toFormulaString(String[] operands) {
return "("+operands[0]+")";
}
-
- public int getPrecedence() {
- return 2;
- }
-
+
}
retval = new ValueReferencePtg(data, offset);
break;
- // case ParenthesisPtg.sid :
- // retval = new ParenthesisPtg(data, offset);
- // break;
+ case ParenthesisPtg.sid :
+ retval = new ParenthesisPtg(data, offset);
+ break;
case ValueVariableFunctionPtg.sid :
retval = new ValueVariableFunctionPtg(data, offset);