Class DoesNotHave<T>

All Implemented Interfaces:
Descriptable<Condition<T>>

public class DoesNotHave<T> extends Negative<T>
Returns true if the condition is not satisfied.
  • Constructor Details

    • DoesNotHave

      private DoesNotHave(Condition<? super T> condition)
  • Method Details

    • doesNotHave

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

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