title: how to parse a big integer from a string?
body: <p>I have a method like this:</p>
  
  <pre><code>Integer.parseInt(myInt)
  </code></pre>
  
  <p>not this integer becomes to long and I'm getting the following exception:</p>
  
  <pre><code>java.lang.NumberFormatException: For input string: "4000123012"
  </code></pre>
  
  <p>what can I do to avoid this error and still keep alle the functions runnning?</p>
  
  <p>I tried to use <code>BigInteger</code> but there is no <code>parse</code> method, or I did not found it.</p>