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 |
---|---|
static ParamPair<T> |
$minus$greater(T value) |
static String |
doc() |
static boolean |
equals(Object obj) |
static int |
hashCode() |
static scala.Function1<T,Object> |
isValid() |
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.
|
static String |
name() |
static String |
parent() |
static String |
toString() |
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 static String parent()
public static String name()
public static String doc()
public static scala.Function1<T,Object> isValid()
public static ParamPair<T> $minus$greater(T value)
public static final String toString()
public static final int hashCode()
public static final boolean equals(Object obj)
public ParamPair<Object> w(double value)
public String jsonEncode(double value)
public double jsonDecode(String json)