The closest(Object o) method has been updated to return 'v' instead of 'o' if 'o' was a Number.
Old: /** * Return the closest member to 'o' in this subset. */ public Object closest(Object o) { ... if (o as Number) { distance v = o.double.distance; if (v < minV) return minV; if (v > maxV) return maxV; return o; } ... } New: /** * Return the closest member to 'o' in this subset. */ public Object closest(Object o) { ... if (o as Number) { distance v = o.double.distance; if (v < minV) return minV; if (v > maxV) return maxV; return v; } ... }