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 |
---|---|
JsBigDec |
JsBigDec.map(UnaryOperator<BigDecimal> fn)
Maps this JsBigDec into another one
|
static JsBigDec |
JsBigDec.of(BigDecimal n)
Static factory method to create a JsBigDec from a BigDecimal object.
|
default JsBigDec |
JsValue.toJsBigDec()
Returns this JsValue as a JsBigDec
|
Modifier and Type | Method and Description |
---|---|
int |
JsBigDec.compareTo(JsBigDec o)
Compares two
JsBigDec objects numerically |
Modifier and Type | Method and Description |
---|---|
Supplier<JsBigDec> |
JsBigDecGen.apply(Random seed)
Returns a supplier from the specified seed that generates a new JsBigDec each time it's called
|
static fun.gen.Gen<JsBigDec> |
JsBigDecGen.arbitrary()
Returns a generator that produces values uniformly distributed
|
static fun.gen.Gen<JsBigDec> |
JsBigDecGen.arbitrary(BigDecimal min,
BigDecimal max)
Returns a generator that produces values uniformly distributed over a specified interval
|
static fun.gen.Gen<JsBigDec> |
JsBigDecGen.biased()
returns a biased generators that produces, with higher probability, potential problematic values
that usually cause more bugs.
|
static fun.gen.Gen<JsBigDec> |
JsBigDecGen.biased(BigDecimal min,
BigDecimal max)
returns a biased generators that produces, with higher probability, potential problematic values
that usually cause more bugs.
|
static fun.gen.Gen<JsBigDec> |
JsBigDecGen.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.