title: Convert.ToInt64 equivalent in java
body: <p>I try the following code in c# and it give me the result as follow:</p>
  
  <pre><code>long dec1 = Convert.ToInt64("B62FD56EFD5B375D", 16);
  </code></pre>
  
  <p>result : -531879796222753398</p>
  
  <p>I am trying to do this in java, but I always get <code>NumberFormatException</code>, because there are alphanumeric inside the String. What I code in java is:</p>
  
  <pre><code>Long.parseLong("B62FD56EFD5B375D", 16);
  </code></pre>
  
  <p>May I know what is the equivalent of this in java?</p>