java.lang.Object
org.refcodes.matcher.AbstractMatcher<M>
org.refcodes.matcher.AbstractMatcheeMatcher<M>
- Type Parameters:
M
- The matchee type
- All Implemented Interfaces:
Matchable<M>
,Matcher<M>
,org.refcodes.mixin.Schemable<MatcherSchema>
- Direct Known Subclasses:
EqualWithMatcher
,GreaterOrEqualThanMatcher
,GreaterThanMatcher
,LessOrEqualThanMatcher
,LessThanMatcher
,NotEqualWithMatcher
The
AbstractMatcheeMatcher
is composed of multiple Matcher
instances queried upon match requests as of Matchable.isMatching(Object)
.-
Field Summary
Fields inherited from class org.refcodes.matcher.AbstractMatcher
MATCHEE
-
Constructor Summary
ConstructorDescriptionAbstractMatcheeMatcher
(String aDescription, M aMatchee) Constructs anAbstractMatcheeMatcher
with the given description and matchee. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.refcodes.matcher.Matchable
isMatching
-
Field Details
-
_matchee
-
-
Constructor Details
-
AbstractMatcheeMatcher
Constructs anAbstractMatcheeMatcher
with the given description and matchee.- Parameters:
aDescription
- The according matcher's description.aMatchee
- The matchee to be matched against.
-
-
Method Details
-
toSchema
- Specified by:
toSchema
in interfaceorg.refcodes.mixin.Schemable<M>
- Overrides:
toSchema
in classAbstractMatcher<M>
-