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.AliasAccessor
,org.refcodes.mixin.Schemable
- 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)
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.AliasAccessor
org.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractMatcheeMatcher
(String aAlias, String aDescription, M aMatchee) Constructs anAbstractMatcheeMatcher
with the given description and matchee. -
Method Summary
Methods inherited from class org.refcodes.matcher.AbstractMatcher
getAlias
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.refcodes.mixin.AliasAccessor
getAlias
Methods inherited from interface org.refcodes.matcher.Matchable
isMatching
-
Field Details
-
_matchee
-
-
Constructor Details
-
AbstractMatcheeMatcher
Constructs anAbstractMatcheeMatcher
with the given description and matchee.- Parameters:
aAlias
- The alias for the accordingMatcher
implementation.aDescription
- The according matcher's description.aMatchee
- The matchee to be matched against.
-
-
Method Details