public class StringToDoubleConverter extends AbstractReverseCachedDataConverter<String,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.
|
Double |
evaluate(String input)
Converts the given
String to a Double. |
reverseclonepublic StringToDoubleConverter()
StringToDoubleConverter.public Double evaluate(String input)
String to a Double.input - The String to convert.protected ObjectToStringConverter createReverse()
AbstractReverseCachedDataConvertercreateReverse in class AbstractReverseCachedDataConverter<String,Double,ObjectToStringConverter>Copyright © 2006–2019 Sandia National Laboratories. All rights reserved.