Uses of Class
jsonvalues.JsDouble
Packages that use JsDouble
Package
Description
json-values is a one-package and zero-dependency library to work with jsons in a declarative and functional way.
-
Uses of JsDouble in jsonvalues
Methods in jsonvalues that return JsDoubleModifier and TypeMethodDescriptionJsDouble.map
(DoubleUnaryOperator fn) Maps this json double into another one.static JsDouble
JsDouble.of
(double n) Static factory method to create a JsDouble from a double primitive type.default JsDouble
JsValue.toJsDouble()
Returns this JsValue as a JsDoubleMethods in jsonvalues with parameters of type JsDouble -
Uses of JsDouble in jsonvalues.gen
Methods in jsonvalues.gen that return types with arguments of type JsDoubleModifier and TypeMethodDescriptionReturns a supplier from the specified seed that generates a new JsDouble each time it's calledstatic fun.gen.Gen<JsDouble>
JsDoubleGen.arbitrary()
Returns a generator that produces values uniformly distributedstatic fun.gen.Gen<JsDouble>
JsDoubleGen.arbitrary
(double min, double max) Returns a generator that produces values uniformly distributed over a specified intervalstatic fun.gen.Gen<JsDouble>
JsDoubleGen.biased()
returns a biased generators that produces, with higher probability, potential problematic values that usually cause more bugs.static fun.gen.Gen<JsDouble>
JsDoubleGen.biased
(double min, double max) returns a biased generators that produces, with higher probability, potential problematic values that usually cause more bugs.