posted 20 years ago
I know Ive done this at one point in time but I cant seem to find my code anywhere & now Ive only managed to confuse myself completely!
What Im looking to do is get results from a db where the primary key is an int, put them into a TreeMap in REVERSE order (largest first, etc) using the int as the key (as an Integer) & the rest of the results in an object for the value. Ive stared at the API & a few examples on the web but just dont get it ( building the Compartor that is).... really think Im having one of those DUH days to be honest) An example would be wonderful .... I know Im gonna feel like an idiot when I see it but definately feel like I need a kick in the head .... thanks!