com.google.inject.matcher

Class AbstractMatcher<T>

  • All Implemented Interfaces:
    Matcher<T>


    public abstract class AbstractMatcher<T>
    extends Object
    implements Matcher<T>
    Implements and() and or().
    Author:
    crazybob@google.com (Bob Lee)
    • Constructor Detail

      • AbstractMatcher

        public AbstractMatcher()
    • Method Detail

      • and

        public Matcher<T> and(Matcher<? super T> other)
        Description copied from interface: Matcher
        Returns a new matcher which returns true if both this and the given matcher return true.
        Specified by:
        and in interface Matcher<T>
      • or

        public Matcher<T> or(Matcher<? super T> other)
        Description copied from interface: Matcher
        Returns a new matcher which returns true if either this or the given matcher return true.
        Specified by:
        or in interface Matcher<T>

Copyright © 2006–2018 Google, Inc.. All rights reserved.