Uses of Class
jsonvalues.JsInt
Packages that use JsInt
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 JsInt in jsonvalues
Methods in jsonvalues that return JsIntModifier and TypeMethodDescriptionJsInt.map
(IntUnaryOperator fn) Maps this JSON integer into another one.static JsInt
JsInt.of
(int n) Static factory method to create a JsInt from an integer primitive type.default JsInt
JsValue.toJsInt()
Returns this JsValue as a JsInt.Methods in jsonvalues with parameters of type JsInt -
Uses of JsInt in jsonvalues.gen
Methods in jsonvalues.gen that return types with arguments of type JsIntModifier and TypeMethodDescriptionJsIntGen.apply
(RandomGenerator seed) static fun.gen.Gen
<JsInt> JsIntGen.arbitrary()
Returns a generator that produces values with a uniform distribution.static fun.gen.Gen
<JsInt> JsIntGen.arbitrary
(int min) Returns a generator that produces values uniformly distributed over the interval [min,Integer.MAX_VALUE].static fun.gen.Gen
<JsInt> JsIntGen.arbitrary
(int min, int max) Returns a generator that produces values uniformly distributed over a specified interval.static fun.gen.Gen
<JsInt> JsIntGen.biased()
Returns a biased generator that produces potential problematic values with a higher probability.static fun.gen.Gen
<JsInt> JsIntGen.biased
(int min) Returns a biased generator that produces potential problematic values with a higher probability.static fun.gen.Gen
<JsInt> JsIntGen.biased
(int min, int max) Returns a biased generator that produces potential problematic values with a higher probability.