private void showArguments() { for (Argument a : argumentsList) { boolean vMode = a.getVerboseMode(); a.setSilentMode(); printSystemInfo(a.getArgumentName() + " = " + a.getArgumentValue() + "\n", WITH_EXP_STR); if (vMode == true) a.setVerboseMode(); } } /**
long startTime = System.currentTimeMillis(); if (verboseMode == true) { printSystemInfo("\n", NO_EXP_STR); printSystemInfo("\n", WITH_EXP_STR); printSystemInfo("Starting ...\n", WITH_EXP_STR); showArguments(); errorMessage = errorMessage + "Problem with expression syntax\n"; if (verboseMode == true) printSystemInfo("syntaxStatus == SYNTAX_ERROR_OR_STATUS_UNKNOWN, returning Double.NaN\n", NO_EXP_STR); errorMessage = errorMessage + "Empty expression\n"; if (verboseMode == true) printSystemInfo("tokensList.size() == 0, returning Double.NaN\n", NO_EXP_STR); recursionCallsCounter = 0; return Double.NaN; errorMessage = errorMessage + "recursionCallsCounter >= MAX_RECURSION_CALLS\n"; if (verboseMode == true) { printSystemInfo("recursionCallsCounter >= mXparser.MAX_RECURSION_CALLS, returning Double.NaN\n", NO_EXP_STR); printSystemInfo("recursionCallsCounter = " + recursionCallsCounter + "\n", NO_EXP_STR); printSystemInfo("mXparser.MAX_RECURSION_CALLS = " + mXparser.MAX_RECURSION_CALLS + "\n", NO_EXP_STR); printSystemInfo("Starting calculation loop\n", WITH_EXP_STR); do { if (mXparser.isCurrentCalculationCancelled()) { rPos = tokenIndex - 1; if (verboseMode == true) {