Class DefaultCharacterArbitrary

java.lang.Object
net.jqwik.engine.properties.arbitraries.TypedCloneable
net.jqwik.engine.properties.arbitraries.DefaultCharacterArbitrary
All Implemented Interfaces:
Cloneable, net.jqwik.api.arbitraries.CharacterArbitrary, net.jqwik.api.Arbitrary<Character>

public class DefaultCharacterArbitrary extends TypedCloneable implements net.jqwik.api.arbitraries.CharacterArbitrary
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.jqwik.api.Arbitrary

    net.jqwik.api.Arbitrary.ArbitraryFacade
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.jqwik.api.arbitraries.CharacterArbitrary
    all()
     
    net.jqwik.api.arbitraries.CharacterArbitrary
     
    net.jqwik.api.arbitraries.CharacterArbitrary
     
    net.jqwik.api.EdgeCases<Character>
    edgeCases(int maxEdgeCases)
     
    boolean
     
    Optional<net.jqwik.api.ExhaustiveGenerator<Character>>
    exhaustive(long maxNumberOfSamples)
     
    net.jqwik.api.RandomGenerator<Character>
    generator(int genSize)
     
    int
     
    net.jqwik.api.arbitraries.CharacterArbitrary
     
    net.jqwik.api.arbitraries.CharacterArbitrary
    range(char min, char max)
     
    net.jqwik.api.arbitraries.CharacterArbitrary
     
    net.jqwik.api.arbitraries.CharacterArbitrary
    with(char... allowedChars)
     
    net.jqwik.api.arbitraries.CharacterArbitrary
    with(CharSequence allowedChars)
     

    Methods inherited from class net.jqwik.engine.properties.arbitraries.TypedCloneable

    typedClone

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.jqwik.api.Arbitrary

    allValues, array, asGeneric, collect, dontShrink, edgeCases, edgeCases, exhaustive, filter, filter, fixGenSize, flatMap, forEachValue, generator, generatorWithEmbeddedEdgeCases, ignoreException, injectDuplicates, injectNull, isGeneratorMemoizable, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCases
  • Constructor Details

    • DefaultCharacterArbitrary

      public DefaultCharacterArbitrary()
  • Method Details

    • generator

      public net.jqwik.api.RandomGenerator<Character> generator(int genSize)
      Specified by:
      generator in interface net.jqwik.api.Arbitrary<Character>
    • exhaustive

      public Optional<net.jqwik.api.ExhaustiveGenerator<Character>> exhaustive(long maxNumberOfSamples)
      Specified by:
      exhaustive in interface net.jqwik.api.Arbitrary<Character>
    • edgeCases

      public net.jqwik.api.EdgeCases<Character> edgeCases(int maxEdgeCases)
      Specified by:
      edgeCases in interface net.jqwik.api.Arbitrary<Character>
    • range

      public net.jqwik.api.arbitraries.CharacterArbitrary range(char min, char max)
      Specified by:
      range in interface net.jqwik.api.arbitraries.CharacterArbitrary
    • with

      public net.jqwik.api.arbitraries.CharacterArbitrary with(char... allowedChars)
      Specified by:
      with in interface net.jqwik.api.arbitraries.CharacterArbitrary
    • with

      public net.jqwik.api.arbitraries.CharacterArbitrary with(CharSequence allowedChars)
      Specified by:
      with in interface net.jqwik.api.arbitraries.CharacterArbitrary
    • all

      public net.jqwik.api.arbitraries.CharacterArbitrary all()
      Specified by:
      all in interface net.jqwik.api.arbitraries.CharacterArbitrary
    • ascii

      public net.jqwik.api.arbitraries.CharacterArbitrary ascii()
      Specified by:
      ascii in interface net.jqwik.api.arbitraries.CharacterArbitrary
    • numeric

      public net.jqwik.api.arbitraries.CharacterArbitrary numeric()
      Specified by:
      numeric in interface net.jqwik.api.arbitraries.CharacterArbitrary
    • whitespace

      public net.jqwik.api.arbitraries.CharacterArbitrary whitespace()
      Specified by:
      whitespace in interface net.jqwik.api.arbitraries.CharacterArbitrary
    • alpha

      public net.jqwik.api.arbitraries.CharacterArbitrary alpha()
      Specified by:
      alpha in interface net.jqwik.api.arbitraries.CharacterArbitrary
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object