nl.topicus.jdbc.shaded.org.hamcrest.DiagnosingMatcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spanner-jdbc Show documentation
Show all versions of spanner-jdbc Show documentation
JDBC Driver for Google Cloud Spanner
package nl.topicus.jdbc.shaded.org.hamcrest.
/**
* TODO(ngd): Document.
*
* @param
*/
public abstract class DiagnosingMatcher extends BaseMatcher {
@Override
public final boolean matches(Object item) {
return matches(item, Description.NONE);
}
@Override
public final void describeMismatch(Object item, Description mismatchDescription) {
matches(item, mismatchDescription);
}
protected abstract boolean matches(Object item, Description mismatchDescription);
}