@API(value=Internal) public final class FunctionUtils extends java.lang.Object
Functions,
Predicates, etc.
These utilities are intended solely for usage within the JUnit framework itself. Any usage by external parties is not supported. Use at your own risk!
| Modifier and Type | Method and Description |
|---|---|
static <T,V> java.util.function.Predicate<T> |
where(java.util.function.Function<T,V> function,
java.util.function.Predicate<? super V> predicate)
Returns a predicate that first applies the specified function and then
tests the specified predicate against the result of the function.
|
public static <T,V> java.util.function.Predicate<T> where(java.util.function.Function<T,V> function,
java.util.function.Predicate<? super V> predicate)
function - the function to applypredicate - the predicate to test against the result of the function