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 JsDouble
    Modifier and Type
    Method
    Description
    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 JsDouble.
    Methods in jsonvalues with parameters of type JsDouble
    Modifier and Type
    Method
    Description
    int
    JsDouble.compareTo(JsDouble o)
    Compares two JsDouble 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
    JsDoubleGen.apply(Random 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.