class FloatParam extends Param[Float]
- Alphabetic
- By Inheritance
- FloatParam
- Param
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FloatParam(parent: Identifiable, name: String, doc: String)
- new FloatParam(parent: Identifiable, name: String, doc: String, isValid: (Float) => Boolean)
- new FloatParam(parent: String, name: String, doc: String)
- new FloatParam(parent: String, name: String, doc: String, isValid: (Float) => Boolean)
Value Members
- def ->(value: Float): ParamPair[Float]
Creates a param pair with the given value (for Scala).
Creates a param pair with the given value (for Scala).
- Definition Classes
- Param
- val doc: String
- Definition Classes
- Param
- final def equals(obj: Any): Boolean
- Definition Classes
- Param → AnyRef → Any
- final def hashCode(): Int
- Definition Classes
- Param → AnyRef → Any
- val isValid: (Float) => Boolean
- Definition Classes
- Param
- def jsonDecode(json: String): Float
Decodes a param value from JSON.
Decodes a param value from JSON.
- Definition Classes
- FloatParam → Param
- def jsonEncode(value: Float): String
Encodes a param value into JSON, which can be decoded by
jsonDecode()
.Encodes a param value into JSON, which can be decoded by
jsonDecode()
.- Definition Classes
- FloatParam → Param
- val name: String
- Definition Classes
- Param
- val parent: String
- Definition Classes
- Param
- final def toString(): String
- Definition Classes
- Param → AnyRef → Any
- def w(value: Float): ParamPair[Float]
Creates a param pair with the given value (for Java).
Creates a param pair with the given value (for Java).
- Definition Classes
- FloatParam → Param