Not
Contents
[
Hide
]Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.tasks.ICondition
public class Not<T> implements ICondition<T>
Applies logical NOT to the specified condition.
T : The type of object to apply method interface to.
Constructors
Constructor | Description |
---|---|
Not(ICondition<T> condition) | Initializes a new instance of the Not<T> class. |
Methods
Method | Description |
---|---|
check(T el) | Returns true if the specified object satisfy the condition. |
Not(ICondition<T> condition)
public Not(ICondition<T> condition)
Initializes a new instance of the Not<T> class.
Parameters:
Parameter | Type | Description |
---|---|---|
condition | ICondition | Specified condition. |
check(T el)
public boolean check(T el)
Returns true if the specified object satisfy the condition.
Parameters:
Parameter | Type | Description |
---|---|---|
el | T | The object to check. |
Returns: boolean - True if the object satisfy the condition.