Class OrClause<T,​C extends Condition<T>>

    • Constructor Summary

      Constructors 
      Constructor Description
      OrClause()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addCondition​(C condition)  
      boolean equals​(java.lang.Object o)  
      java.util.List<C> getConditions()  
      int hashCode()  
      boolean passes​(T value)
      Returns whether the provided value passes the condition.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OrClause

        public OrClause()
    • Method Detail

      • addCondition

        public void addCondition​(C condition)
      • getConditions

        public java.util.List<C> getConditions()
      • passes

        public boolean passes​(T value)
        Description copied from interface: Condition
        Returns whether the provided value passes the condition.
        Specified by:
        passes in interface Condition<T>
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object