Long.signum

Returns the signum function of the specified {@code long} value. (The return value is -1 if the specified value is negative; 0 if the specified value is zero; and 1 if the specified value is positive.)

@param i the value whose signum is to be computed @return the signum function of the specified {@code long} value.

class Long
static
int
signum
(
long i
)

Meta