public class StringToDoubleConverter extends AbstractReverseCachedDataConverter<java.lang.String,java.lang.Double,ObjectToStringConverter>
String
to a Double
using the
Double.valueOf
method.reverse
Constructor and Description |
---|
StringToDoubleConverter()
Creates a new
StringToDoubleConverter . |
Modifier and Type | Method and Description |
---|---|
protected ObjectToStringConverter |
createReverse()
Creates a new reverse converter.
|
java.lang.Double |
evaluate(java.lang.String input)
Converts the given
String to a Double . |
reverse
clone
public StringToDoubleConverter()
StringToDoubleConverter
.public java.lang.Double evaluate(java.lang.String input)
String
to a Double
.input
- The String to convert.protected ObjectToStringConverter createReverse()
AbstractReverseCachedDataConverter
createReverse
in class AbstractReverseCachedDataConverter<java.lang.String,java.lang.Double,ObjectToStringConverter>