Class AbstractMatcheeMatcher<M>

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

public abstract class AbstractMatcheeMatcher<M> extends AbstractMatcher<M> implements Matcher<M>
The AbstractMatcheeMatcher is composed of multiple Matcher instances queried upon match requests as of Matchable.isMatching(Object).
  • Field Details

    • _matchee

      protected M _matchee
  • Constructor Details

    • AbstractMatcheeMatcher

      public AbstractMatcheeMatcher(String aDescription, M aMatchee)
      Constructs an AbstractMatcheeMatcher with the given description and matchee.
      Parameters:
      aDescription - The according matcher's description.
      aMatchee - The matchee to be matched against.
  • Method Details