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