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 Details

    • not

      public static <T> Not<T> not(Condition<? super T> condition)
      Creates a new Not.
      Type Parameters:
      T - the type of value the Condition applies to.
      Parameters:
      condition - the condition to inverse.
      Returns:
      The Not condition created.