Compare the underlying target to the provided value.
Method Details
directionFrom
intdirectionFrom(int value)
Compare the underlying target to the provided value. Return -1, 0, or 1 if target is less than, equal, or
greater than the provided value, respectively.
Parameters:
value -
Returns:
-1 if target is to the left of value (target < value ); 0 if value == target; +1 if target is to
the right of value (value < target).