sum

public Integer sum(Integer x, Integer y)

Method to combine two distances

Return

the resulting distance

Parameters

x

first distance to combine

y

second distance to combine