Class Not<T>

  • All Implemented Interfaces:
    Descriptable<Condition<T>>

    public class Not<T>
    extends Negative<T>
    Returns true if the condition is not satisfied.
    Author:
    Nicolas François, Mikhail Mazursky
    • Method Detail

      • not

        public static <T> Not<T> not​(Condition<? super T> condition)
        Creates a new Not.
        Parameters:
        condition - the condition to inverse.
        Returns:
        The Not condition created.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Condition<T>