Package | Description |
---|---|
jsonvalues |
json-values is a one-package and zero-dependency library to work with jsons in a declarative and functional way.
|
jsonvalues.gen |
Modifier and Type | Method and Description |
---|---|
JsDouble |
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
|
Modifier and Type | Method and Description |
---|---|
int |
JsDouble.compareTo(JsDouble o)
Compares two
JsDouble objects numerically. |
Modifier and Type | Method and Description |
---|---|
Supplier<JsDouble> |
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.
|
Copyright © 2022. All rights reserved.