Class NotCriterion<T>

  • Type Parameters:
    T - type of testable objects
    All Implemented Interfaces:
    Criterion<T>

    public final class NotCriterion<T>
    extends java.lang.Object
    implements Criterion<T>

    A Criterion that negates an existing Criterion.

    Objects satisfy this NotCriterion if and only if they do not satisfy the constituting Criterion.

    This implementation is not synchronized. If the constituting criterion can be used by multiple threads concurrently, this OrCriterion can be used by multiple threads concurrently as well. Else if used by different threads concurrently, external synchronization is necessary.

    Author:
    agz