Interface HasMinus<T>

    • Method Summary

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

      • minus

        HasMinus<T> minus​(byte other)
        Creates and returns an expression that returns the difference 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 6.

        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 subtraction
        Returns:
        the new expression
      • minus

        HasMinus<T> minus​(ToByte<T> other)
        Creates and returns an expression that returns the difference 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 6.

        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 subtraction
        Returns:
        the new expression
      • minus

        HasMinus<T> minus​(int other)
        Creates and returns an expression that returns the difference 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 6.

        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 subtraction
        Returns:
        the new expression
      • minus

        HasMinus<T> minus​(ToInt<T> other)
        Creates and returns an expression that returns the difference 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 6.

        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 subtraction
        Returns:
        the new expression
      • minus

        HasMinus<T> minus​(long other)
        Creates and returns an expression that returns the difference 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 6.

        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 subtraction
        Returns:
        the new expression
      • minus

        HasMinus<T> minus​(ToLong<T> other)
        Creates and returns an expression that returns the difference 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 6.

        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 subtraction
        Returns:
        the new expression
      • minus

        ToDouble<T> minus​(double other)
        Creates and returns an expression that returns the difference 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 6.

        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 subtraction
        Returns:
        the new expression
      • minus

        ToDouble<T> minus​(ToDouble<T> other)
        Creates and returns an expression that returns the difference 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 6.

        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 subtraction
        Returns:
        the new expression