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 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)
    Returns a supplier from the specified seed that generates a new JsDouble each time it's called
    static fun.gen.Gen<JsDouble>
    JsDoubleGen.arbitrary()
    Returns a generator that produces values uniformly distributed
    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 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.