public class IntegerListConditionsImpl extends BaseObjectListConditions<Integer,IntegerConditions> implements IntegerConditions, ConditionsObject<List<Integer>>
conditions, conditionsGetter, objectGetter| Constructor and Description |
|---|
IntegerListConditionsImpl(Conditions<FluentWebElement> conditions,
com.google.common.base.Function<FluentWebElement,Integer> objectGetter)
Creates a new list conditions, with default integer condition implementation
|
IntegerListConditionsImpl(Conditions<FluentWebElement> conditions,
com.google.common.base.Function<FluentWebElement,Integer> objectGetter,
com.google.common.base.Function<FluentWebElement,IntegerConditions> conditionsGetter)
Creates a new list conditions
|
| Modifier and Type | Method and 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
|
IntegerListConditionsImpl |
not()
Negates this condition object.
|
boolean |
verify(com.google.common.base.Predicate<Integer> predicate)
Verify the predicate against the condition.
|
getActualObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActualObjectpublic IntegerListConditionsImpl(Conditions<FluentWebElement> conditions, com.google.common.base.Function<FluentWebElement,Integer> objectGetter, com.google.common.base.Function<FluentWebElement,IntegerConditions> conditionsGetter)
conditions - list conditionsobjectGetter - getter of the underlying objectconditionsGetter - getter of the underlying conditionspublic IntegerListConditionsImpl(Conditions<FluentWebElement> conditions, com.google.common.base.Function<FluentWebElement,Integer> objectGetter)
conditions - list conditionsobjectGetter - getter of the underlying objectpublic boolean verify(com.google.common.base.Predicate<Integer> predicate)
BaseObjectListConditionsverify in interface Conditions<Integer>verify in class BaseObjectListConditions<Integer,IntegerConditions>predicate - predicatepublic IntegerListConditionsImpl not()
Conditionsnot in interface Conditions<Integer>not in interface IntegerConditionspublic boolean equalTo(int value)
IntegerConditionsequalTo in interface IntegerConditionsvalue - the value to compare withpublic boolean lessThan(int value)
IntegerConditionslessThan in interface IntegerConditionsvalue - the value to compare withpublic boolean lessThanOrEqualTo(int value)
IntegerConditionslessThanOrEqualTo in interface IntegerConditionsvalue - the value to compare withpublic boolean greaterThan(int value)
IntegerConditionsgreaterThan in interface IntegerConditionsvalue - the value to compare withpublic boolean greaterThanOrEqualTo(int value)
IntegerConditionsgreaterThanOrEqualTo in interface IntegerConditionsvalue - the value to compare withCopyright © 2016 FluentLenium. All Rights Reserved.