public abstract class

AbstractMatcher

extends Object
implements Matcher<T>
java.lang.Object
   ↳ com.google.inject.matcher.AbstractMatcher<T>

Class Overview

Implements and() and or().

Summary

Public Constructors
AbstractMatcher()
Public Methods
Matcher<T> and(Matcher<? super T> other)
Returns a new matcher which returns true if both this and the given matcher return true.
Matcher<T> or(Matcher<? super T> other)
Returns a new matcher which returns true if either this or the given matcher return true.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.inject.matcher.Matcher

Public Constructors

public AbstractMatcher ()

Public Methods

public Matcher<T> and (Matcher<? super T> other)

Returns a new matcher which returns true if both this and the given matcher return true.

public Matcher<T> or (Matcher<? super T> other)

Returns a new matcher which returns true if either this or the given matcher return true.