Interface AbstractIntegerConditions<T, C extends AbstractIntegerConditions>

Type Parameters:
T - type of condition
C - type of interface extended by this common interface
All Superinterfaces:
Conditions<T>
All Known Subinterfaces:
IntegerConditions, ListIntegerConditions
All Known Implementing Classes:
DynamicIntegerConditionsImpl, IntegerConditionsImpl, IntegerListConditionsImpl

public interface AbstractIntegerConditions<T,C extends AbstractIntegerConditions> extends Conditions<T>
Common interface for Integer conditions.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equalTo (int value)
    Check that this is equal to given value
    boolean
    greaterThan (int value)
    Check that this is greater than given value
    boolean
    greaterThanOrEqualTo (int value)
    Check that this is greater than or equal given value
    boolean
    lessThan (int value)
    Check that this is less than given value
    boolean
    lessThanOrEqualTo (int value)
    Check that this is less than or equal given value
    C
    not()
    Negates this condition object.

    Methods inherited from interface io.fluentlenium.core.conditions.Conditions

    verify
  • Method Details

    • not

      C not()
      Negates this condition object.
      Specified by:
      not in interface Conditions<T>
      Returns:
      a negated condition object
    • equalTo

      boolean equalTo (int value)
      Check that this is equal to given value
      Parameters:
      value - the value to compare with
      Returns:
      true if is equals, false otherwise
    • lessThan

      boolean lessThan (int value)
      Check that this is less than given value
      Parameters:
      value - the value to compare with
      Returns:
      true if less than, false otherwise
    • lessThanOrEqualTo

      boolean lessThanOrEqualTo (int value)
      Check that this is less than or equal given value
      Parameters:
      value - the value to compare with
      Returns:
      true if less than or equal, false otherwise
    • greaterThan

      boolean greaterThan (int value)
      Check that this is greater than given value
      Parameters:
      value - the value to compare with
      Returns:
      true if greater than, false otherwise
    • greaterThanOrEqualTo

      boolean greaterThanOrEqualTo (int value)
      Check that this is greater than or equal given value
      Parameters:
      value - the value to compare with
      Returns:
      true if greater than or equal, false otherwise