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 |
---|---|
JsLong |
JsLong.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
|
Modifier and Type | Method and Description |
---|---|
int |
JsLong.compareTo(JsLong o)
Compares two
JsLong objects numerically. |
Modifier and Type | Method and Description |
---|---|
Supplier<JsLong> |
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.
|
Copyright © 2022. All rights reserved.