Java Long Number Create toLong(final String value)

Here you can find the source of toLong(final String value)

Description

create Long from str.

License

Apache License

Parameter

Parameter Description
value a parameter

Declaration

public static Long toLong(final String value) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    /**/*from   ww w . ja v  a  2  s .co m*/
     * create Long from str.
     * @param value
     * @return
     */
    public static Long toLong(final String value) {
        return Long.parseLong(value);
    }
}

Related

  1. toLong(final Object o, final String pattern)
  2. toLong(final Object obj)
  3. toLong(final String bitString)
  4. toLong(final String str, final long defaultValue)
  5. toLong(final String value)
  6. toLong(final String value)
  7. toLong(int numBytes, long value)
  8. toLong(int value)
  9. toLong(int x, int z)