predicate

public Predicate<U> predicate<U extends T>()(source)

returns a Predicate that returns true if the given object is matched by this matcher.

Return

the predicate

Parameters

<U>

the type of the object to match