public class FloatParam extends Param<Object>
Param[Float]
for Java.Constructor and Description |
---|
FloatParam(Identifiable parent,
String name,
String doc) |
FloatParam(Identifiable parent,
String name,
String doc,
scala.Function1<Object,Object> isValid) |
FloatParam(String parent,
String name,
String doc) |
FloatParam(String parent,
String name,
String doc,
scala.Function1<Object,Object> isValid) |
Modifier and Type | Method and Description |
---|---|
float |
jsonDecode(String json) |
String |
jsonEncode(float value) |
static float |
jValueDecode(org.json4s.JsonAST.JValue jValue)
Decodes a param value from JValue.
|
static org.json4s.JsonAST.JValue |
jValueEncode(float value)
Encodes a param value into JValue.
|
ParamPair<Object> |
w(float value)
Creates a param pair with the given value (for Java).
|
public FloatParam(String parent, String name, String doc, scala.Function1<Object,Object> isValid)
public FloatParam(String parent, String name, String doc)
public FloatParam(Identifiable parent, String name, String doc, scala.Function1<Object,Object> isValid)
public FloatParam(Identifiable parent, String name, String doc)
public static org.json4s.JsonAST.JValue jValueEncode(float value)
public static float jValueDecode(org.json4s.JsonAST.JValue jValue)
public ParamPair<Object> w(float value)
public String jsonEncode(float value)
public float jsonDecode(String json)