|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hamcrest.BaseMatcher<T>
public abstract class BaseMatcher<T>
BaseClass for all Matcher implementations.
Matcher
Constructor Summary | |
---|---|
BaseMatcher()
|
Method Summary | |
---|---|
void |
_dont_implement_Matcher___instead_extend_BaseMatcher_()
Deprecated. |
void |
describeMismatch(java.lang.Object item,
Description description)
Generate a description of why the matcher has not accepted the item. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.hamcrest.Matcher |
---|
matches |
Methods inherited from interface org.hamcrest.SelfDescribing |
---|
describeTo |
Constructor Detail |
---|
public BaseMatcher()
Method Detail |
---|
@Deprecated public final void _dont_implement_Matcher___instead_extend_BaseMatcher_()
Matcher
_dont_implement_Matcher___instead_extend_BaseMatcher_
in interface Matcher<T>
Matcher._dont_implement_Matcher___instead_extend_BaseMatcher_()
public void describeMismatch(java.lang.Object item, Description description)
Matcher
matches(item)
is false, but
will not check this.
describeMismatch
in interface Matcher<T>
item
- The item that the Matcher has rejected.description
- The description to be built or appended to.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |