Not

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

ConstructorDescription
Not(ICondition<T> condition)Initializes a new instance of the Not<T> class.

Methods

MethodDescription
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:

ParameterTypeDescription
conditionIConditionSpecified condition.

check(T el)

public boolean check(T el)

Returns true if the specified object satisfy the condition.

Parameters:

ParameterTypeDescription
elTThe object to check.

Returns: boolean - True if the object satisfy the condition.