Package org.fluentlenium.core.conditions
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Conditions<T>
not()
Negates this condition object.boolean
verify(java.util.function.Predicate<T> predicate)
Check that the given predicate is verified against this condition object.
-
-
-
Method Detail
-
verify
boolean verify(java.util.function.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
-
-