java.io.Serializable
StringToDouble11
public class StringToDouble
extends java.lang.Object
implements java.io.Serializable
Modifier | Constructor | Description |
---|---|---|
protected |
StringToDouble() |
Modifier and Type | Method | Description |
---|---|---|
static StringToDouble |
getInstance() |
Get the singleton instance
|
protected double |
signedPositiveInfinity() |
|
double |
stringToNumber(java.lang.CharSequence s) |
Convert a string to a double.
|
public static StringToDouble getInstance()
public double stringToNumber(java.lang.CharSequence s) throws java.lang.NumberFormatException
s
- the String to be convertedjava.lang.NumberFormatException
- if the value cannot be convertedprotected double signedPositiveInfinity()