java.lang.Object
org.refcodes.matcher.AbstractMatcher<M>
org.refcodes.matcher.AbstractMatcherComposite<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:
AndMatcher,OrMatcher
The
AbstractMatcherComposite 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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractMatcherComposite(String aAlias, String aDescription, Matcher<M>... aMatchers) Constructs anAbstractMatcherCompositewith the given description and matchers. -
Method Summary
Methods inherited from class org.refcodes.matcher.AbstractMatcher
getAliasMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.refcodes.mixin.AliasAccessor
getAliasMethods inherited from interface org.refcodes.matcher.Matchable
isMatching
-
Field Details
-
_matchers
-
-
Constructor Details
-
AbstractMatcherComposite
Constructs anAbstractMatcherCompositewith the given description and matchers.- Parameters:
aAlias- The alias for the accordingMatcherimplementation.aDescription- The according matcher's description.aMatchers- The matchers used when matching.
-
-
Method Details