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
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -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) {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -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))) {
|
||||
|
@ -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) {
|
||||
}
|
||||
}
|
||||
|
@ -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) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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