Uses of Class
jsonvalues.JsLong
Packages that use JsLong
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 JsLong in jsonvalues
Methods in jsonvalues that return JsLongModifier and TypeMethodDescriptionJsLong.map
(LongUnaryOperator fn) 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 -
Uses of JsLong in jsonvalues.gen
Methods in jsonvalues.gen that return types with arguments of type JsLongModifier and TypeMethodDescriptionJsLongGen.apply
(RandomGenerator seed) static fun.gen.Gen
<JsLong> JsLongGen.arbitrary()
Returns a generator that produces values with a uniform distribution.static fun.gen.Gen
<JsLong> JsLongGen.arbitrary
(long min) Returns a generator that produces values uniformly distributed over the interval [min,Integer.MAX_VALUE].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 potential problematic values with a higher probability.static fun.gen.Gen
<JsLong> JsLongGen.biased
(long min) Returns a biased generator that produces potential problematic values with a higher probability.static fun.gen.Gen
<JsLong> JsLongGen.biased
(long min, long max) Returns a biased generator that produces potential problematic values with a higher probability.