• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*  Copyright (c) 2000-2006 hamcrest.org
2  */
3 package org.hamcrest;
4 
5 /**
6  * BaseClass for all Matcher implementations.
7  *
8  * @see Matcher
9  */
10 public abstract class BaseMatcher<T> implements Matcher<T> {
11 
12     /**
13      * @see Matcher#_dont_implement_Matcher___instead_extend_BaseMatcher_()
14      */
_dont_implement_Matcher___instead_extend_BaseMatcher_()15     public final void _dont_implement_Matcher___instead_extend_BaseMatcher_() {
16         // See Matcher interface for an explanation of this method.
17     }
18 
19     @Override
toString()20     public String toString() {
21         return StringDescription.toString(this);
22     }
23 }
24