public class IntegerListConditionsImpl extends BaseObjectListConditions<java.lang.Integer,IntegerConditions> implements IntegerConditions, ConditionsObject<java.util.List<java.lang.Integer>>
conditions, conditionsGetter, objectGetter| Constructor and Description |
|---|
IntegerListConditionsImpl(Conditions<FluentWebElement> conditions,
java.util.function.Function<FluentWebElement,java.lang.Integer> objectGetter)
Creates a new list conditions, with default integer condition implementation
|
IntegerListConditionsImpl(Conditions<FluentWebElement> conditions,
java.util.function.Function<FluentWebElement,java.lang.Integer> objectGetter,
java.util.function.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(java.util.function.Predicate<java.lang.Integer> predicate)
Verify the predicate against the condition.
|
getActualObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActualObjectpublic IntegerListConditionsImpl(Conditions<FluentWebElement> conditions, java.util.function.Function<FluentWebElement,java.lang.Integer> objectGetter, java.util.function.Function<FluentWebElement,IntegerConditions> conditionsGetter)
conditions - list conditionsobjectGetter - getter of the underlying objectconditionsGetter - getter of the underlying conditionspublic IntegerListConditionsImpl(Conditions<FluentWebElement> conditions, java.util.function.Function<FluentWebElement,java.lang.Integer> objectGetter)
conditions - list conditionsobjectGetter - getter of the underlying objectpublic boolean verify(java.util.function.Predicate<java.lang.Integer> predicate)
BaseObjectListConditionsverify in interface Conditions<java.lang.Integer>verify in class BaseObjectListConditions<java.lang.Integer,IntegerConditions>predicate - predicatepublic IntegerListConditionsImpl not()
AbstractIntegerConditionsnot in interface AbstractIntegerConditions<java.lang.Integer,IntegerConditions>not in interface Conditions<java.lang.Integer>public boolean equalTo(int value)
AbstractIntegerConditionsequalTo in interface AbstractIntegerConditions<java.lang.Integer,IntegerConditions>value - the value to compare withpublic boolean lessThan(int value)
AbstractIntegerConditionslessThan in interface AbstractIntegerConditions<java.lang.Integer,IntegerConditions>value - the value to compare withpublic boolean lessThanOrEqualTo(int value)
AbstractIntegerConditionslessThanOrEqualTo in interface AbstractIntegerConditions<java.lang.Integer,IntegerConditions>value - the value to compare withpublic boolean greaterThan(int value)
AbstractIntegerConditionsgreaterThan in interface AbstractIntegerConditions<java.lang.Integer,IntegerConditions>value - the value to compare withpublic boolean greaterThanOrEqualTo(int value)
AbstractIntegerConditionsgreaterThanOrEqualTo in interface AbstractIntegerConditions<java.lang.Integer,IntegerConditions>value - the value to compare withCopyright © 2018 FluentLenium. All Rights Reserved.