Class CompoundCondition

    • Method Detail

      • and

        public Condition and​(Condition condition)
        Description copied from interface: Condition
        Adds a condition to this condition with an AND.
        Specified by:
        and in interface Condition
        Parameters:
        condition - The new condition to add, must not be null.
        Returns:
        A new condition.
      • or

        public Condition or​(Condition condition)
        Description copied from interface: Condition
        Adds a condition to this condition with an OR.
        Specified by:
        or in interface Condition
        Parameters:
        condition - The new condition to add, must not be null.
        Returns:
        A new condition.
      • xor

        public Condition xor​(Condition condition)
        Description copied from interface: Condition
        Adds a condition to this condition with a XOR.
        Specified by:
        xor in interface Condition
        Parameters:
        condition - The new condition to add, must not be null.
        Returns:
        A new condition.
      • accept

        public void accept​(Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor visiting this Visitable and its nested Visitables if applicable.
        Specified by:
        accept in interface Visitable
        Parameters:
        visitor - the visitor to notify, must not be null.