Interface HasDivide<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ToDouble<T> divide​(double divisor)
      Creates and returns an expression that returns the quotient of the result from the current expression and the divisor.
      ToDouble<T> divide​(int divisor)
      Creates and returns an expression that returns the quotient of the result from the current expression and the divisor.
      ToDouble<T> divide​(long divisor)
      Creates and returns an expression that returns the quotient of the result from the current expression and the divisor.
      ToDouble<T> divide​(ToDouble<T> divisor)
      Creates and returns an expression that returns the quotient of the result from the current expression and the divisor.
      ToDouble<T> divide​(ToInt<T> divisor)
      Creates and returns an expression that returns the quotient of the result from the current expression and the divisor.
      ToDouble<T> divide​(ToLong<T> divisor)
      Creates and returns an expression that returns the quotient of the result from the current expression and the divisor.
    • Method Detail

      • divide

        ToDouble<T> divide​(int divisor)
        Creates and returns an expression that returns the quotient of the result from the current expression and the divisor. For an example, if the result of the current expression was 9 and the divisor was set to 3, then the result of the returned expression would be 3.

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

        Parameters:
        divisor - the divisor used for the division
        Returns:
        the new expression
      • divide

        ToDouble<T> divide​(ToInt<T> divisor)
        Creates and returns an expression that returns the quotient of the result from the current expression and the divisor. For an example, if the result of the current expression was 9 and the divisor was set to 3, then the result of the returned expression would be 3.

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

        Parameters:
        divisor - the divisor used for the division
        Returns:
        the new expression
      • divide

        ToDouble<T> divide​(long divisor)
        Creates and returns an expression that returns the quotient of the result from the current expression and the divisor. For an example, if the result of the current expression was 9 and the divisor was set to 3, then the result of the returned expression would be 3.

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

        Parameters:
        divisor - the divisor used for the division
        Returns:
        the new expression
      • divide

        ToDouble<T> divide​(ToLong<T> divisor)
        Creates and returns an expression that returns the quotient of the result from the current expression and the divisor. For an example, if the result of the current expression was 9 and the divisor was set to 3, then the result of the returned expression would be 3.

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

        Parameters:
        divisor - the divisor used for the division
        Returns:
        the new expression
      • divide

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

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

        Parameters:
        divisor - the divisor used for the division
        Returns:
        the new expression
      • divide

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

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

        Parameters:
        divisor - the divisor used for the division
        Returns:
        the new expression