E - the expression type returned by the sign() methodpublic interface HasSign<E>
sign() method for getting the
sign (positive, negative or zero) of the result from the current expression.| Modifier and Type | Method and Description |
|---|---|
E |
sign()
Creates and returns an expression that returns
1 if the result of
the this expression is positive, -1 if the result of this
expression is negative and 0 if the result of this expression is
0. |
E sign()
1 if the result of
the this expression is positive, -1 if the result of this
expression is negative and 0 if the result of this expression is
0.
If this expression is nullable and the result was null, then the
result of the returned expression will also be null.
Copyright © 2019 Speedment, Inc.. All rights reserved.