public abstract class AbstractSimpleComparableMatcher extends AbstractSimpleMatcher
| Constructor and Description |
|---|
AbstractSimpleComparableMatcher() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
matches(Parameter parameter,
Comparable actual,
Comparable pivot)
Does comparison and returns the result.
|
protected boolean |
matches(Parameter parameter,
Object actual,
Object expected)
Called to see if the condition holds
|
matchesprotected final boolean matches(Parameter parameter, Object actual, Object expected)
AbstractSimpleMatchermatches in class AbstractSimpleMatcherparameter - the parameteractual - the actual valueexpected - the expectationprotected abstract boolean matches(Parameter parameter, Comparable actual, Comparable pivot)
parameter - the parameteractual - the actual valuepivot - the pivotCopyright © 2014–2016. All rights reserved.