Package net.jqwik.api

Class Combinators.ListCombinator<T>

  • Enclosing class:

    public static class Combinators.ListCombinator<T>
    extends java.lang.Object
    Combinator for any number of values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <R> Arbitrary<R> as​(java.util.function.Function<java.util.List<T>,​R> combinator)
      Combine any number of values.
      <R> Arbitrary<R> flatAs​(java.util.function.Function<java.util.List<T>,​Arbitrary<R>> flatCombinator)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • as

        public <R> Arbitrary<R> as​(java.util.function.Function<java.util.List<T>,​R> combinator)
        Combine any number of values.
        Type Parameters:
        R - return type
        combinator - function
        arbitrary instance
      • flatAs

        public <R> Arbitrary<R> flatAs​(java.util.function.Function<java.util.List<T>,​Arbitrary<R>> flatCombinator)