Class DoesNotHave<T>

All Implemented Interfaces:
Descriptable<Condition<T>>

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

    • doesNotHave

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