Uses of Class
jsonvalues.JsLong

Packages that use JsLong
Package
Description
json-values is a one-package and zero-dependency library to work with jsons in a declarative and functional way.
 
  • Uses of JsLong in jsonvalues

    Methods in jsonvalues that return JsLong
    Modifier and Type
    Method
    Description
    Maps this json long into another one.
    static JsLong
    JsLong.of(long n)
    Static factory method to create a JsLong from a long primitive type.
    default JsLong
    JsValue.toJsLong()
    Returns this JsValue as a JsLong
    Methods in jsonvalues with parameters of type JsLong
    Modifier and Type
    Method
    Description
    int
    JsLong.compareTo(JsLong o)
    Compares two JsLong objects numerically.
  • Uses of JsLong in jsonvalues.gen

    Methods in jsonvalues.gen that return types with arguments of type JsLong
    Modifier and Type
    Method
    Description
    JsLongGen.apply(Random seed)
    Returns a supplier from the specified seed that generates a new JsLong each time it's called
    static fun.gen.Gen<JsLong>
    JsLongGen.arbitrary()
    Returns a generator that produces values uniformly distributed
    static fun.gen.Gen<JsLong>
    JsLongGen.arbitrary(long min, long max)
    Returns a generator that produces values uniformly distributed over a specified interval
    static fun.gen.Gen<JsLong>
    JsLongGen.biased()
    returns a biased generator that produces, with higher probability, potential problematic values that usually cause more bugs.
    static fun.gen.Gen<JsLong>
    JsLongGen.biased(long min, long max)
    returns a biased generators that produces, with higher probability, potential problematic values that usually cause more bugs.