import java.util.*;

public class MathsParser
{
    public MathsParser (boolean debug)
    {
        _debug = debug;
    }

    public int parse (Vector<String> data)
    {
        long finalResult = 0;

        for (int i = 0; i < data.size(); i++)
        {
            String currentLine = data.elementAt(i);
            long currentResult = 0;
            Stack<Character> operators = new Stack<Character>();
            Stack<Long> values = new Stack<Long>();
            char[] lineArray = currentLine.trim().toCharArray();
        }

        return result;
    }

    private boolean _debug;
}
@@ -128,19 +128,20 @@
  public 
-int
+long
  parse (
@@ -550,17 +550,22 @@
  return 
-r
+finalR
 esult;%0A 

Update MathsParser.java