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 Detail

      • 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 java.lang.String toString()
        Overrides:
        toString in class Condition<T>