public static class MatchesFunction.Supplier<T,R> extends Object implements Function<T,Matcher<? super T>>
MatchesFunction
matcher for a specified source object.Constructor and Description |
---|
Supplier(String functionName,
Function<T,R> function)
Creates a new Supplier that supplies a
MatchesFunction matcher using
the given function. |
Modifier and Type | Method and Description |
---|---|
Matcher<T> |
apply(T source)
Returns the
MatchesFunction matcher supplied for the given source object. |
MatchesFunction.Supplier<T,R> |
matches(Function<R,Matcher<R>> resultMatcherSupplier)
Changes the result Matcher supplier function for the
MatchesFunction matcher supplied. |
public Supplier(String functionName, Function<T,R> function)
MatchesFunction
matcher using
the given function.public MatchesFunction.Supplier<T,R> matches(Function<R,Matcher<R>> resultMatcherSupplier)
MatchesFunction
matcher supplied.Copyright © 2022 The Cornutum Project. All rights reserved.