Package io.fluentlenium.core.conditions
Interface AbstractIntegerConditions<T,
C extends AbstractIntegerConditions>
- Type Parameters:
T
- type of conditionC
- 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 TypeMethodDescriptionboolean
equalTo
(int value) Check that this is equal to given valueboolean
greaterThan
(int value) Check that this is greater than given valueboolean
greaterThanOrEqualTo
(int value) Check that this is greater than or equal given valueboolean
lessThan
(int value) Check that this is less than given valueboolean
lessThanOrEqualTo
(int value) Check that this is less than or equal given valuenot()
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 interfaceConditions<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
-