com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class Not<T>

  • Type Parameters:
    T - The type of object to apply method interface to.
    All Implemented Interfaces:
    ICondition<T>


    public class Not<T>
    extends Object
    implements ICondition<T>

    Applies logical NOT to the specified condition.

    • Constructor Detail

      • Not

        public Not(ICondition<T> condition)

        Creates Not condition.

        Parameters:
        condition - Specified condition.
    • Method Detail

      • check

        public boolean check(T el)

        Returns true if the specified object satisfy the condition.

        Specified by:
        check in interface ICondition<T>
        Parameters:
        el - The object to check.
        Returns:
        True if the object satisfy the condition.