public static interface Combinators.ListCombinator<T>
Modifier and Type | Method and Description |
---|---|
<R> Arbitrary<R> |
as(java.util.function.Function<java.util.List<T>,R> combinator)
Combine any number of values.
|
Combinators.ListCombinator<T> |
filter(java.util.function.Predicate<java.util.List<T>> filter)
Filter list of values to only let them pass if the predicate is true.
|
default <R> Arbitrary<R> |
flatAs(java.util.function.Function<java.util.List<T>,Arbitrary<R>> flatCombinator)
Combine list of values to create a new arbitrary.
|
<R> Arbitrary<R> as(java.util.function.Function<java.util.List<T>,R> combinator)
R
- return typecombinator
- function@API(status=MAINTAINED, since="1.8.0") Combinators.ListCombinator<T> filter(java.util.function.Predicate<java.util.List<T>> filter)
filter
- function