Class Condition.Or

    • Constructor Detail

      • Or

        public Or​(List<Condition> terms)
        Creates a disjunction over a defensive copy of the terms.
        Parameters:
        terms - the terms of which at least one must hold
    • Method Detail

      • terms

        public List<Condition> terms()
        Returns:
        the disjoined terms
      • 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