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.AliasAccessor, 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).
  • 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
    Modifier and Type
    Field
    Description
    protected M
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractMatcheeMatcher(String aAlias, String aDescription, M aMatchee)
    Constructs an AbstractMatcheeMatcher with the given description and matchee.
  • Method Summary

    Modifier and Type
    Method
    Description

    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

      protected M _matchee
  • Constructor Details

    • AbstractMatcheeMatcher

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