Class ChooseCharacterArbitrary

java.lang.Object
net.jqwik.engine.properties.arbitraries.ChooseCharacterArbitrary
All Implemented Interfaces:
net.jqwik.api.Arbitrary<Character>

public class ChooseCharacterArbitrary extends Object
  • 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.EdgeCases<Character>
    edgeCases(int maxEdgeCases)
     
    boolean
     
    Optional<net.jqwik.api.ExhaustiveGenerator<Character>>
    exhaustive(long maxNumberOfSamples)
     
    net.jqwik.api.RandomGenerator<Character>
    generator(int tries)
     
    int
     

    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, ignoreException, ignoreExceptions, ignoreExceptions, injectDuplicates, injectNull, isGeneratorMemoizable, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCases
  • Constructor Details

    • ChooseCharacterArbitrary

      public ChooseCharacterArbitrary(char[] chars)
  • Method Details

    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • generator

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

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

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