equalTo

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

Tells whether the first distance is equivalent to the second

Return

true if x and y are equals. False otherwise.

Parameters

x

the first distance to be analyzed

y

the second distance to be analyzed