removing mroe of my stuff. Liek Avik's better

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352525 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew C. Oliver 2002-04-28 15:55:37 +00:00
parent fd604cb56c
commit 1bfafdbd21
6 changed files with 4 additions and 39 deletions

View File

@ -154,12 +154,5 @@ public class AddPtg
buffer.append(operands[ 1 ]);
return buffer.toString();
}
public void manipulate(List source, List results, int pos) {
standardBinaryManipulation(source,results,pos);
}
}

View File

@ -131,10 +131,5 @@ public class DividePtg
buffer.append("/");
buffer.append(operands[ 1 ]);
return buffer.toString();
}
public void manipulate(List source, List results, int pos) {
}
}
}

View File

@ -141,11 +141,7 @@ public class MultiplyPtg
return buffer.toString();
}
public void manipulate(List source, List results, int pos) {
standardBinaryManipulation(source, results, pos);
}
public static boolean isNextStringToken(String formula, int pos) {
boolean retval = false;
while (pos < formula.length() && Character.isWhitespace(formula.charAt(pos))) {

View File

@ -79,14 +79,7 @@ public abstract class OperationPtg extends Ptg
public abstract int getNumberOfOperands();
/**
* manipulate the list, moving the arguments for this function to the source list
* followed by the operator.
*/
public abstract void manipulate(List source, List results, int pos);
public abstract String toFormulaString(Ptg [] operands);
protected void standardBinaryManipulation(List source,List results, int pos) {
}
}

View File

@ -130,12 +130,6 @@ public class PowerPtg
buffer.append("^");
buffer.append(operands[ 1 ]);
return buffer.toString();
}
public void manipulate(List source, List results, int pos) {
}
}
}

View File

@ -133,10 +133,4 @@ public class SubtractPtg
buffer.append(operands[ 1 ]);
return buffer.toString();
}
public void manipulate(List source, List results, int pos) {
}
}