Interface Conditions<T>

Type Parameters:
T - type of condition
All Known Subinterfaces:
AbstractIntegerConditions<T, C>, FluentConditions, FluentListConditions, IntegerConditions, ListIntegerConditions, RectangleConditions, StringConditions
All Known Implementing Classes:
AbstractFluentListConditions, AbstractObjectConditions, AtLeastOneElementConditions, DynamicIntegerConditionsImpl, EachElementConditions, IntegerConditionsImpl, IntegerListConditionsImpl, RectangleConditionsImpl, RectangleListConditionsImpl, StringConditionsImpl, StringListConditionsImpl, WebElementConditions

public interface Conditions<T>
Common interface for conditions.
  • Method Summary

    Modifier and Type
    Method
    Description
    not()
    Negates this condition object.
    boolean
    verify (Predicate<T> predicate)
    Check that the given predicate is verified against this condition object.
  • Method Details

    • verify

      boolean verify (Predicate<T> predicate)
      Check that the given predicate is verified against this condition object.
      Parameters:
      predicate - predicate to check
      Returns:
      true if the predicated is checked, false otherwise
    • not

      Conditions<T> not()
      Negates this condition object.
      Returns:
      a negated condition object