[java] How to convert String to long in Java?