Package com.aspose.tasks
Class Not<T>
- java.lang.Object
-
- com.aspose.tasks.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 Summary
Constructors Constructor Description Not(ICondition<T> condition)
Initializes a new instance of the Not<T> class.
-
-
-
Constructor Detail
-
Not
public Not(ICondition<T> condition)
Initializes a new instance of the Not<T> class.
- 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 interfaceICondition<T>
- Parameters:
el
- The object to check.- Returns:
- True if the object satisfy the condition.
-
-