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