less

public boolean less(Integer x, Integer y)

Tells whether the first distance is smaller than the second

Return

true if x is smaller than y. False otherwise.

Parameters

x

the first distance to be analyzed

y

the second distance to be analyzed