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