AndAllCondition

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

ConstructorDescription
AndAllCondition(List<ICondition<T>> conditions)Initializes a new instance of the AndAllCondition<T> class.

Methods

MethodDescription
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:

ParameterTypeDescription
conditionsjava.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:

ParameterTypeDescription
elTThe object to check.

Returns: boolean - True if the object satisfy the conditions.