Package org.hamcrest

Interface Condition.Step<I,O>

Type Parameters:
I - the initial value type
O - the next step value type
Enclosing class:
Condition<T>

public static interface Condition.Step<I,O>
Represents a single step in a multi-step sequence
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(I value, Description mismatch)
    Apply this condition to a value
  • Method Details

    • apply

      Condition<O> apply(I value, Description mismatch)
      Apply this condition to a value
      Parameters:
      value - the value to match
      mismatch - the description for mismatches
      Returns:
      the next condition