The stable API defining Matcher and its associated interfaces and classes. Hamcrest sub-projects define their convenience classes in the org.hamcrest package.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | Description
A description of a Matcher. |
| public interface | |
| public interface | SelfDescribing
The ability of an object to describe itself. |
| Modifier and Type | Annotation and Description |
|---|---|
| public @interface | Factory
Marks a Hamcrest static factory method so tools recognise them. |
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | BaseDescription
A |
| public abstract class | |
| public abstract class | |
| public class | |
| public abstract class | |
| public abstract class | |
| public abstract class | |
| public abstract class | FeatureMatcher<
The type of the object to be matched T, The type of the feature to be matched U>Supporting class for matching a feature of an object. |
| public class | |
| public class | StringDescription
A |
| public abstract class | TypeSafeDiagnosingMatcher<T>
Convenient base class for Matchers that require a non-null value of a specific type and that will report why the received value has been rejected. |
| public abstract class | TypeSafeMatcher<T>
Convenient base class for Matchers that require a non-null value of a specific type. |