T
- the input typepublic interface HasDivide<T>
divide(int)
-methods for generating new expressions for the division
of this value with a certain divisor.Modifier and Type | Method and 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.
|
ToDouble<T> divide(int divisor)
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
.
divisor
- the divisor used for the divisionToDouble<T> divide(ToInt<T> divisor)
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
.
divisor
- the divisor used for the divisionToDouble<T> divide(long divisor)
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
.
divisor
- the divisor used for the divisionToDouble<T> divide(ToLong<T> divisor)
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
.
divisor
- the divisor used for the divisionToDouble<T> divide(double divisor)
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
.
divisor
- the divisor used for the divisionToDouble<T> divide(ToDouble<T> divisor)
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
.
divisor
- the divisor used for the divisionCopyright © 2018 Speedment, Inc.. All rights reserved.