Uses of Class
jsonvalues.JsDouble
Packages that use JsDouble
Package
Description
The `jsonvalues` package provides a set of classes and interfaces for working with JSON (JavaScript Object Notation)
data in a type-safe and structured manner.
This package contains a set of generators for creating JSON-like data structures using the `jsonvalues` library.
-
Uses of JsDouble in jsonvalues
Methods in jsonvalues that return JsDoubleModifier and TypeMethodDescriptionJsDouble.map(DoubleUnaryOperator fn) Maps this json double into another one.static JsDoubleJsDouble.of(double n) Static factory method to create a JsDouble from a double primitive type.default JsDoubleJsValue.toJsDouble()Returns this JsValue as a JsDouble.Methods 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 TypeMethodDescriptionJsDoubleGen.apply(RandomGenerator seed) static fun.gen.Gen<JsDouble> JsDoubleGen.arbitrary()Returns a generator that produces values with a uniform distribution.static fun.gen.Gen<JsDouble> JsDoubleGen.arbitrary(double min, double max) Returns a generator that produces values uniformly distributed over a specified interval.static fun.gen.Gen<JsDouble> JsDoubleGen.biased()Returns a biased generator that produces potential problematic values with a higher probability.static fun.gen.Gen<JsDouble> JsDoubleGen.biased(double min, double max) Returns a biased generator that produces potential problematic values with a higher probability.