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