public abstract class AbstractUnaryMatcher extends Object implements Matcher
| Constructor and Description |
|---|
AbstractUnaryMatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isApplicableTo(Class<?> parameterType,
Class<?>... propertiesTypes) |
protected abstract boolean |
matches(Object value)
Called to determine the match
|
boolean |
matches(Parameter parameter,
Object value,
Object... properties)
Determines if the value matches the properties or not, based on the underlying operation.
|
public final boolean matches(Parameter parameter, Object value, Object... properties)
Matcherprotected abstract boolean matches(Object value)
value - the expected valuepublic boolean isApplicableTo(Class<?> parameterType, Class<?>... propertiesTypes)
isApplicableTo in interface MatcherCopyright © 2014–2021. All rights reserved.