Interface CharacterArbitrary

  • All Superinterfaces:
    Arbitrary<java.lang.Character>

    @API(status=MAINTAINED,
         since="1.0")
    public interface CharacterArbitrary
    extends Arbitrary<java.lang.Character>
    Fluent interface to configure the generation of Character and char values.
    • Method Detail

      • all

        CharacterArbitrary all()
        Allow all unicode chars to show up in generated values. Resets previous settings.
      • with

        @API(status=MAINTAINED,
             since="1.1.3")
        CharacterArbitrary with​(char... allowedChars)
        Allow all chars in allowedChars show up in generated values. Adds to all already allowed chars.
      • with

        @API(status=EXPERIMENTAL,
             since="1.3.0")
        CharacterArbitrary with​(Arbitrary<java.lang.Character> characterArbitrary)
        Allow all chars generated by characterArbitrary. Adds to all already allowed chars.
      • with

        @API(status=MAINTAINED,
             since="1.2.1")
        CharacterArbitrary with​(java.lang.CharSequence allowedChars)
        Allow all chars in allowedChars show up in generated values. Adds to all already allowed chars.
      • range

        @API(status=MAINTAINED,
             since="1.1.3")
        CharacterArbitrary range​(char min,
                                 char max)
        Allow all chars within min (included) and max (included) to show up in generated values. Adds to all already allowed chars.
      • ascii

        CharacterArbitrary ascii()
        Allow all ascii chars to show up in generated values. Adds to all already allowed chars.
      • digit

        CharacterArbitrary digit()
        Allow all numeric chars (digits) to show up in generated values. Adds to all already allowed chars.
      • whitespace

        @API(status=MAINTAINED,
             since="1.1.3")
        CharacterArbitrary whitespace()
        Allow all whitespace chars to show up in generated values. Adds to all already allowed chars.