getNeighbours(int) issue? (2nd attempt)
By danpost, with 5 replies.
Last reply by davmac, over 12 years ago:
danpost, I've double-checked and the getNearby(...) method in UserInfo is definitely static, even in the USB version. So it can't possibly make a difference what object you use to invoke it. I hope this makes sense to you. I think you were getting confused because it happens to (in your case) return entries that are roughly surrounding the last entry returned by getTop(...), but that is just coincidence. The methods actually behave as documented.