Interface HasPlus<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      HasPlus<T> plus​(byte other)
      Creates and returns an expression that returns the sum of the result from the current expression and the other term.
      ToDouble<T> plus​(double other)
      Creates and returns an expression that returns the sum of the result from the current expression and the other term.
      HasPlus<T> plus​(int other)
      Creates and returns an expression that returns the sum of the result from the current expression and the other term.
      HasPlus<T> plus​(long other)
      Creates and returns an expression that returns the sum of the result from the current expression and the other term.
      HasPlus<T> plus​(ToByte<T> other)
      Creates and returns an expression that returns the sum of the result from the current expression and the other term.
      ToDouble<T> plus​(ToDouble<T> other)
      Creates and returns an expression that returns the sum of the result from the current expression and the other term.
      HasPlus<T> plus​(ToInt<T> other)
      Creates and returns an expression that returns the sum of the result from the current expression and the other term.
      HasPlus<T> plus​(ToLong<T> other)
      Creates and returns an expression that returns the sum of the result from the current expression and the other term.
    • Method Detail

      • plus

        HasPlus<T> plus​(byte other)
        Creates and returns an expression that returns the sum of the result from the current expression and the other term. For an example, if the result of the current expression was 9 and the other term was set to 3, then the result of the returned expression would be 12.

        If this expression is nullable and the result was null, then the result of the returned expression will also be null.

        Parameters:
        other - the other term used for the addition
        Returns:
        the new expression
      • plus

        HasPlus<T> plus​(ToByte<T> other)
        Creates and returns an expression that returns the sum of the result from the current expression and the other term. For an example, if the result of the current expression was 9 and the other term was set to 3, then the result of the returned expression would be 12.

        If this expression is nullable and the result was null, then the result of the returned expression will also be null.

        Parameters:
        other - the other term used for the addition
        Returns:
        the new expression
      • plus

        HasPlus<T> plus​(int other)
        Creates and returns an expression that returns the sum of the result from the current expression and the other term. For an example, if the result of the current expression was 9 and the other term was set to 3, then the result of the returned expression would be 12.

        If this expression is nullable and the result was null, then the result of the returned expression will also be null.

        Parameters:
        other - the other term used for the addition
        Returns:
        the new expression
      • plus

        HasPlus<T> plus​(ToInt<T> other)
        Creates and returns an expression that returns the sum of the result from the current expression and the other term. For an example, if the result of the current expression was 9 and the other term was set to 3, then the result of the returned expression would be 12.

        If this expression is nullable and the result was null, then the result of the returned expression will also be null.

        Parameters:
        other - the other term used for the addition
        Returns:
        the new expression
      • plus

        HasPlus<T> plus​(long other)
        Creates and returns an expression that returns the sum of the result from the current expression and the other term. For an example, if the result of the current expression was 9 and the other term was set to 3, then the result of the returned expression would be 12.

        If this expression is nullable and the result was null, then the result of the returned expression will also be null.

        Parameters:
        other - the other term used for the addition
        Returns:
        the new expression
      • plus

        HasPlus<T> plus​(ToLong<T> other)
        Creates and returns an expression that returns the sum of the result from the current expression and the other term. For an example, if the result of the current expression was 9 and the other term was set to 3, then the result of the returned expression would be 12.

        If this expression is nullable and the result was null, then the result of the returned expression will also be null.

        Parameters:
        other - the other term used for the addition
        Returns:
        the new expression
      • plus

        ToDouble<T> plus​(double other)
        Creates and returns an expression that returns the sum of the result from the current expression and the other term. For an example, if the result of the current expression was 9 and the other term was set to 3, then the result of the returned expression would be 12.

        If this expression is nullable and the result was null, then the result of the returned expression will also be null.

        Parameters:
        other - the other term used for the addition
        Returns:
        the new expression
      • plus

        ToDouble<T> plus​(ToDouble<T> other)
        Creates and returns an expression that returns the sum of the result from the current expression and the other term. For an example, if the result of the current expression was 9 and the other term was set to 3, then the result of the returned expression would be 12.

        If this expression is nullable and the result was null, then the result of the returned expression will also be null.

        Parameters:
        other - the other term used for the addition
        Returns:
        the new expression