less

public boolean less(Double x, Double 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