code: protected int intValue(final char op, final String s) {
          final int result = Integer.parseInt(s);
          if (op == '-') {
              return -1 * result;
          }
          return result;
      }
docs: Parses the sting into an integer.
  
  @param op the sign char
  @param s the string to parse
  @return the int value