Uses of Class
jsonvalues.JsStr

Packages that use JsStr
Package
Description
json-values is a one-package and zero-dependency library to work with jsons in a declarative and functional way.
 
  • Uses of JsStr in jsonvalues

    Methods in jsonvalues that return JsStr
    Modifier and Type
    Method
    Description
    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
    Methods in jsonvalues with parameters of type JsStr
    Modifier and Type
    Method
    Description
    int
    JsStr.compareTo(JsStr o)
    Compares two JsStr objects lexicographically.
  • Uses of JsStr in jsonvalues.gen

    Methods in jsonvalues.gen that return types with arguments of type JsStr
    Modifier and Type
    Method
    Description
    static fun.gen.Gen<JsStr>
    JsStrGen.alphabetic()
    Generator tha produces an alphabetic character
    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 minLength, int maxLength)
    Generates a string made up of alphanumeric characters
    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 minLength, int maxLength)
    returns a generator that produces arbitrary strings
    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 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 minLength, int maxLength)
    Generates a string made up of letters