org.hamcrest.Condition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-hamcrest Show documentation
Show all versions of java-hamcrest Show documentation
Hamcrest matcher library for Java
The newest version!
package org.hamcrest;
/**
* A Condition implements part of a multi-step match. We sometimes need to write matchers
* that have a sequence of steps, where each step depends on the result of the previous
* step and we can stop processing as soon as a step fails. These classes provide
* infrastructure for writing such a sequence.
*
* Based on https://github.com/npryce/maybe-java
* @author Steve Freeman 2012 http://www.hamcrest.com
*/
public abstract class Condition {
public static final NotMatched