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:
parent
fd604cb56c
commit
1bfafdbd21
@ -155,11 +155,4 @@ public class AddPtg
|
||||
return buffer.toString();
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void manipulate(List source, List results, int pos) {
|
||||
standardBinaryManipulation(source,results,pos);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -132,9 +132,4 @@ public class DividePtg
|
||||
buffer.append(operands[ 1 ]);
|
||||
return buffer.toString();
|
||||
}
|
||||
|
||||
|
||||
public void manipulate(List source, List results, int pos) {
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -142,10 +142,6 @@ public class MultiplyPtg
|
||||
}
|
||||
|
||||
|
||||
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))) {
|
||||
|
@ -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) {
|
||||
}
|
||||
}
|
||||
|
@ -132,10 +132,4 @@ public class PowerPtg
|
||||
return buffer.toString();
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void manipulate(List source, List results, int pos) {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -133,10 +133,4 @@ public class SubtractPtg
|
||||
buffer.append(operands[ 1 ]);
|
||||
return buffer.toString();
|
||||
}
|
||||
|
||||
|
||||
public void manipulate(List source, List results, int pos) {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user