public abstract class AbstractBinaryComparableMatcher extends AbstractBinaryMatcher
Comparable objects| Constructor and Description |
|---|
AbstractBinaryComparableMatcher() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
matches(Parameter parameter,
Comparable value,
Comparable first,
Comparable second)
Is called to determine when the two comparable items fit the criteria of this matcher
|
protected boolean |
matches(Parameter parameter,
Object value,
Object first,
Object second)
Called to see if two objects match the criteria set by this matcher
|
matchesprotected final boolean matches(Parameter parameter, Object value, Object first, Object second)
AbstractBinaryMatchermatches in class AbstractBinaryMatcherparameter - the parameter against which the matching is being performedvalue - the value bound to the matchingfirst - the first operandsecond - the second operandprotected abstract boolean matches(Parameter parameter, Comparable value, Comparable first, Comparable second)
parameter - the parameter for which the matching is being performedvalue - the value against which the comparison is being performedfirst - the first valuesecond - the second valueCopyright © 2014–2016. All rights reserved.