com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class 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 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 interface ICondition<T>
        Parameters:
        el - The object to check.
        Returns:
        True if the object satisfy the conditions.