lessOrEqual

public boolean lessOrEqual(Pair<D1, D2> x, Pair<D1, D2> y)

Tells whether the first distance is smaller or equal to the second.

Return

true if x is smaller or equal than y. False otherwise.

Parameters

x

the first distance to be analyzed

y

the second distance to be analyzed