public interface

Matcher

com.google.inject.matcher.Matcher<T>
Known Indirect Subclasses

Class Overview

Returns true or false for a given input.

Summary

Public Methods
abstract Matcher<T> and(Matcher<? super T> other)
Returns a new matcher which returns true if both this and the given matcher return true.
abstract boolean matches(T t)
Returns true if this matches t, false otherwise.
abstract Matcher<T> or(Matcher<? super T> other)
Returns a new matcher which returns true if either this or the given matcher return true.

Public Methods

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

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

public abstract boolean matches (T t)

Returns true if this matches t, false otherwise.

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

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