AndAllCondition
Contents
[
Hide
]Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.tasks.ICondition
public class AndAllCondition<T> implements ICondition<T>
Applies logical AND to all conditions. For example: cond1 AND cond2 AND cond3…
T : The type of object to apply method interface to.
Constructors
Constructor | Description |
---|---|
AndAllCondition(List<ICondition<T>> conditions) | Initializes a new instance of the AndAllCondition<T> class. |
Methods
Method | Description |
---|---|
check(T el) | Returns true if the specified object satisfy the conditions. |
AndAllCondition(List<ICondition<T>> conditions)
public AndAllCondition(List<ICondition<T>> conditions)
Initializes a new instance of the AndAllCondition<T> class.
Parameters:
Parameter | Type | Description |
---|---|---|
conditions | java.util.List<com.aspose.tasks.ICondition<T>> | The list of conditions. |
check(T el)
public boolean check(T el)
Returns true if the specified object satisfy the conditions.
Parameters:
Parameter | Type | Description |
---|---|---|
el | T | The object to check. |
Returns: boolean - True if the object satisfy the conditions.