public class DoubleParam extends Param<Double>
clazz, defaultValue, description, name, validator
Constructor and Description |
---|
DoubleParam(String name,
String description,
Double defaultValue) |
DoubleParam(String name,
String description,
Double defaultValue,
ParamValidator<Double> validator) |
Modifier and Type | Method and Description |
---|---|
Double |
jsonDecode(Object json)
Decodes the given json-supported object into an object of class type T.
|
equals, hashCode, jsonEncode, toString
public DoubleParam(String name, String description, Double defaultValue, ParamValidator<Double> validator)
public Double jsonDecode(Object json) throws IOException
Param
jsonDecode
in class Param<Double>
json
- A json-supported object.IOException
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.