Class Condition.Not

    • Constructor Detail

      • Not

        public Not​(Condition inner)
        Creates a negation.
        Parameters:
        inner - the condition to invert
    • Method Detail

      • inner

        public Condition inner()
        Returns:
        the negated condition
      • accept

        public <R> R accept​(Condition.Visitor<R> v)
        Description copied from interface: Condition
        Dispatches to the visitor method for this node's variant.
        Specified by:
        accept in interface Condition
        Type Parameters:
        R - the visitor's result type
        Parameters:
        v - the visitor to dispatch to
        Returns:
        whatever the visitor returns