Class BooleanResult

    • Constructor Summary

      Constructors 
      Constructor Description
      BooleanResult​(java.lang.Boolean value, boolean compileTimeConstant)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      com.google.common.base.Optional<java.lang.Boolean> getValue()
      Returns the optional computation result.
      int hashCode()  
      boolean isCompileTimeConstant()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • BooleanResult

        public BooleanResult​(java.lang.Boolean value,
                             boolean compileTimeConstant)
    • Method Detail

      • getValue

        public com.google.common.base.Optional<java.lang.Boolean> getValue()
        Description copied from interface: IConstantEvaluationResult
        Returns the optional computation result. If the result is null, no value could be computed.
        Specified by:
        getValue in interface IConstantEvaluationResult<java.lang.Boolean>
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object