public final class StringToDoubleConverter extends Object implements Convertable
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Object value)
Converts the supplied value to a Double.
|
static StringToDoubleConverter |
getInstance()
Gets the single instance of this converter.
|
public static StringToDoubleConverter getInstance()
public Object convert(Object value)
convert in interface Convertablevalue - The value to convert to a Double.ClassCastException - When the supplied value is not a String.NumberFormatException - When the supplied value could not be converted to a Double.Copyright © 2008–2017. All rights reserved.