Now that you renamed that to "Number", I wonder if you really use it for numbers only. If not, then maybe it should be renamed to something more general (how about "getComparableObject"?). A brief documentation would also help here.