Package org.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequalTo(int value)Check that this is equal to given valuebooleangreaterThan(int value)Check that this is greater than given valuebooleangreaterThanOrEqualTo(int value)Check that this is greater than or equal given valuebooleanlessThan(int value)Check that this is less than given valuebooleanlessThanOrEqualTo(int value)Check that this is less than or equal given valueCnot()Negates this condition object.-
Methods inherited from interface org.fluentlenium.core.conditions.Conditions
verify
-
-
-
-
Method Detail
-
not
C not()
Negates this condition object.- Specified by:
notin 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
-
-