Package com.aspose.tasks
Class AndAllCondition<T>
- java.lang.Object
-
- com.aspose.tasks.AndAllCondition<T>
-
- Type Parameters:
T
- The type of object to apply method interface to.
- All Implemented Interfaces:
ICondition<T>
public class AndAllCondition<T> extends Object implements ICondition<T>
Applies logical AND to all conditions. For example: cond1 AND cond2 AND cond3...
-
-
Constructor Summary
Constructors Constructor Description AndAllCondition(List<ICondition<T>> conditions)
Initializes a new instance of theAndAllCondition{T}
class.
-
-
-
Constructor Detail
-
AndAllCondition
public AndAllCondition(List<ICondition<T>> conditions)
Initializes a new instance of the
AndAllCondition{T}
class.- Parameters:
conditions
- The list of conditions.
-
-
Method Detail
-
check
public boolean check(T el)
Returns true if the specified object satisfy the conditions.
- Specified by:
check
in interfaceICondition<T>
- Parameters:
el
- The object to check.- Returns:
- True if the object satisfy the conditions.
-
-