Uses of Class
jsonvalues.JsDouble
-
Packages that use JsDouble Package Description jsonvalues json-values is a one-package and zero-dependency library to work with jsons in a declarative and functional way.jsonvalues.gen -
-
Uses of JsDouble in jsonvalues
Methods in jsonvalues that return JsDouble Modifier and Type Method Description JsDouble
JsDouble. 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 Modifier and Type Method Description int
JsDouble. compareTo(JsDouble o)
Compares twoJsDouble
objects numerically. -
Uses of JsDouble in jsonvalues.gen
Methods in jsonvalues.gen that return types with arguments of type JsDouble Modifier and Type Method Description Supplier<JsDouble>
JsDoubleGen. apply(Random seed)
Returns 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.
-