Package com.google.inject.matcher
Class AbstractMatcher.AndMatcher<T>
- java.lang.Object
-
- com.google.inject.matcher.AbstractMatcher<T>
-
- com.google.inject.matcher.AbstractMatcher.AndMatcher<T>
-
- All Implemented Interfaces:
Matcher<T>
,java.io.Serializable
- Enclosing class:
- AbstractMatcher<T>
private static class AbstractMatcher.AndMatcher<T> extends AbstractMatcher<T> implements java.io.Serializable
-
-
Constructor Summary
Constructors Constructor Description AndMatcher(Matcher<? super T> a, Matcher<? super T> b)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
boolean
matches(T t)
Returnstrue
if this matchest
,false
otherwise.java.lang.String
toString()
-
Methods inherited from class com.google.inject.matcher.AbstractMatcher
and, or
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
matches
public boolean matches(T t)
Description copied from interface:Matcher
Returnstrue
if this matchest
,false
otherwise.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-