Package | Description |
---|---|
jsonvalues | |
jsonvalues.gen |
Modifier and Type | Method and Description |
---|---|
JsStr |
JsStr.map(UnaryOperator<String> fn)
Maps this JsStr into another one.
|
static JsStr |
JsStr.of(String str)
Static factory method to create a JsStr from a string.
|
default JsStr |
JsValue.toJsStr()
Returns this JsValue as a JsStr
|
Modifier and Type | Method and Description |
---|---|
int |
JsStr.compareTo(JsStr o)
Compares two
JsStr objects lexicographically. |
Modifier and Type | Method and Description |
---|---|
static fun.gen.Gen<JsStr> |
JsStrGen.alphabetic()
Generator tha produces an alphabetic character
|
static fun.gen.Gen<JsStr> |
JsStrGen.alphabetic(int length)
Generates a string made up of alphabetic characters
|
static fun.gen.Gen<JsStr> |
JsStrGen.alphabetic(int minLength,
int maxLength)
Generates a string made up of alphabetic characters
|
static fun.gen.Gen<JsStr> |
JsStrGen.alphanumeric()
Generator tha produces an alphanumeric character
|
static fun.gen.Gen<JsStr> |
JsStrGen.alphanumeric(int length)
Generates a string made up of alphanumeric characters
|
static fun.gen.Gen<JsStr> |
JsStrGen.alphanumeric(int minLength,
int maxLength)
Generates a string made up of alphanumeric characters
|
Supplier<JsStr> |
JsStrGen.apply(Random seed)
Returns a supplier from the specified seed that generates a new JsStr each time it's called
|
static fun.gen.Gen<JsStr> |
JsStrGen.arbitrary(int length)
returns a generator that produces arbitrary strings
|
static fun.gen.Gen<JsStr> |
JsStrGen.arbitrary(int minLength,
int maxLength)
returns a generator that produces arbitrary strings
|
static fun.gen.Gen<JsStr> |
JsStrGen.biased(int length)
returns a biased generators that produces, with higher probability, potential problematic values
that usually cause more bugs.
|
static fun.gen.Gen<JsStr> |
JsStrGen.biased(int minLength,
int maxLength)
returns a biased generators that produces, with higher probability, potential problematic values
that usually cause more bugs.
|
static fun.gen.Gen<JsStr> |
JsStrGen.digit()
Generator tha produces a digit from 0 to 9
|
static fun.gen.Gen<JsStr> |
JsStrGen.digits(int length)
Generates a string made up of digits
|
static fun.gen.Gen<JsStr> |
JsStrGen.digits(int minLength,
int maxLength)
Generates a string made up of digits
|
static fun.gen.Gen<JsStr> |
JsStrGen.letter()
Generator tha produces a letter from a to z
|
static fun.gen.Gen<JsStr> |
JsStrGen.letters(int length)
Generates a string made up of letters
|
static fun.gen.Gen<JsStr> |
JsStrGen.letters(int minLength,
int maxLength)
Generates a string made up of letters
|
Copyright © 2022. All rights reserved.