Class Longs


  • public final class Longs
    extends Object
    • Method Detail

      • parseDecimal

        public static Long parseDecimal​(String s)
        Converts a String into a Long by first parsing it as Double and then casting it to Long.
        Parameters:
        s - The String to convert, may be null or in decimal format
        Returns:
        The parsed Long or null when parsing is not possible