public final class Longs
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
Longs() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Long |
parseDecimal(java.lang.String s)
Converts a String into a Long by first parsing it as Double and then casting it to Long.
|
public static java.lang.Long parseDecimal(java.lang.String s)
s
- The String to convert, may be null or in decimal format