Class BooleanCondition

  • All Implemented Interfaces:
    Condition<java.lang.Boolean>, java.io.Serializable

    public class BooleanCondition
    extends java.lang.Object
    implements Condition<java.lang.Boolean>
    Created by colby.clegg on 8/24/2015.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BooleanCondition​(boolean expected)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean passes​(java.lang.Boolean value)
      Returns whether the provided value passes the condition.
      • Methods inherited from class java.lang.Object

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

      • BooleanCondition

        public BooleanCondition​(boolean expected)
    • Method Detail

      • passes

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