public class DoubleDatatype extends AbstractDatatype<Double>
Datatype.Builtin, Datatype.Default| Constructor and Description |
|---|
DoubleDatatype() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isHandlingJavaType(Class type) |
Double |
valueOf(String s)
Transforms a string representation into a value of the supported type.
|
getBuiltin, getDisplayString, getString, getValueType, isValid, setBuiltin, toStringpublic boolean isHandlingJavaType(Class type)
isHandlingJavaType in interface Datatype<Double>isHandlingJavaType in class AbstractDatatype<Double>true if this datatype can handle values of the given Java type.public Double valueOf(String s) throws InvalidValueException
DatatypevalueOf in interface Datatype<Double>valueOf in class AbstractDatatype<Double>s - The string representation of a value.null if the string was null or empty.InvalidValueException - If the string couldn't be parsed.Copyright © 2023 jUPnP.org. All rights reserved.