Package net.jqwik.api

Class RandomGenerator.RandomGeneratorFacade

  • Enclosing interface:
    RandomGenerator<T>

    @API(status=INTERNAL)
    public abstract static class RandomGenerator.RandomGeneratorFacade
    extends java.lang.Object
    • Constructor Detail

      • RandomGeneratorFacade

        public RandomGeneratorFacade()
    • Method Detail

      • flatMap

        public abstract <T,​U> Shrinkable<U> flatMap​(Shrinkable<T> wrappedShrinkable,
                                                          java.util.function.Function<T,​Arbitrary<U>> mapper,
                                                          int genSize,
                                                          long nextLong,
                                                          boolean withEmbeddedEdgeCases)
      • filter

        public abstract <T> RandomGenerator<T> filter​(RandomGenerator<T> self,
                                                      java.util.function.Predicate<T> filterPredicate,
                                                      int maxMisses)
      • collect

        public abstract <T> RandomGenerator<java.util.List<T>> collect​(RandomGenerator<T> self,
                                                                       java.util.function.Predicate<java.util.List<T>> until)
      • ignoreExceptions

        public abstract <T> RandomGenerator<T> ignoreExceptions​(RandomGenerator<T> self,
                                                                java.lang.Class<? extends java.lang.Throwable>[] exceptionTypes,
                                                                int maxThrows)