Class Negative<T>

  • All Implemented Interfaces:
    Descriptable<Condition<T>>
    Direct Known Subclasses:
    DoesNotHave, Not

    public abstract class Negative<T>
    extends Condition<T>
    Inverse the condition.
    Author:
    Nicolas François, Mikhail Mazursky
    • Field Detail

    • Constructor Detail

      • Negative

        protected Negative​(Condition<? super T> condition)
    • Method Detail

      • matches

        public boolean matches​(T value)
        Description copied from class: Condition
        Verifies that the given value satisfies this condition.
        Overrides:
        matches in class Condition<T>
        Parameters:
        value - the value to verify.
        Returns:
        true if the given value satisfies this condition; false otherwise.