Package net.jqwik.api

Interface Combinators.Combinator7<T1,​T2,​T3,​T4,​T5,​T6,​T7>

  • Enclosing class:
    Combinators

    public static interface Combinators.Combinator7<T1,​T2,​T3,​T4,​T5,​T6,​T7>
    Combinator for seven values.
    • Method Detail

      • as

        <R> Arbitrary<R> as​(Combinators.F7<T1,​T2,​T3,​T4,​T5,​T6,​T7,​@NotNull R> combinator)
        Combine seven values.
        Type Parameters:
        R - return type
        Parameters:
        combinator - function
        Returns:
        arbitrary instance
      • filter

        @API(status=EXPERIMENTAL,
             since="1.7.1")
        Combinators.Combinator7<T1,​T2,​T3,​T4,​T5,​T6,​T7> filter​(Combinators.F7<T1,​T2,​T3,​T4,​T5,​T6,​T7,​java.lang.Boolean> filter)
        Filter seven values to only let them pass if the predicate is true.
        Parameters:
        filter - function
        Returns:
        combinator instance
      • flatAs

        default <R> Arbitrary<R> flatAs​(Combinators.F7<T1,​T2,​T3,​T4,​T5,​T6,​T7,​Arbitrary<@NotNull R>> flatCombinator)
        Combine seven values to create a new arbitrary.
        Type Parameters:
        R - return type of arbitrary
        Parameters:
        flatCombinator - function
        Returns:
        arbitrary instance